[vlma-devel] commit: Improved configuration management. (Adrien Grand )

git version control git at videolan.org
Sun Jul 27 18:15:36 CEST 2008


vlma | branch: master | Adrien Grand <jpountz at videolan.org> | Sun Jul 27 18:09:57 2008 +0200| [466877117fdb6f2bd33ebba314c323683b2ab307]

Improved configuration management.

There was a side effect with CompositeConfiguration in the case of lists since
it searched for properties in every configuration file and did not stop at the
first configuration where the property was found.

> http://git.videolan.org/gitweb.cgi/vlma.git/?a=commit;h=466877117fdb6f2bd33ebba314c323683b2ab307
---

 vlma-api/src/main/java/org/videolan/vlma/Data.java |   54 +++++++++
 .../org/videolan/vlma/ConfigurationService.java    |  114 +++++++++++---------
 .../src/main/java/org/videolan/vlma/DataImpl.java  |    4 +
 .../org/videolan/vlma/notifier/IRCNotifier.java    |    2 +-
 .../org/videolan/vlma/notifier/MSNNotifier.java    |    2 +-
 .../org/videolan/vlma/notifier/MailNotifier.java   |    2 +-
 .../main/java/org/videolan/vlma/daemon/VLMad.java  |   46 ++++++++-
 vlma-daemon/src/main/resources/config.properties   |    3 -
 vlma-daemon/src/main/resources/daemon.xml          |   23 +++--
 .../configuration/ConfigurationEditController.java |   24 +++--
 10 files changed, 195 insertions(+), 79 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlma.git/?a=commitdiff;h=466877117fdb6f2bd33ebba314c323683b2ab307


More information about the vlma-devel mailing list