mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
25.18.2016 0864c543c8d21ac8be64043229769a9075318f4e
Minor fix: avoid potential UnsupportedOperationException when starting various tools

The control panel and status were aborting on startup because an error
was detected and added to an unmodifiable list.
1 files modified
3 ■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/ConfigFromFile.java 3 ●●●● patch | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/ConfigFromFile.java
@@ -116,8 +116,7 @@
    {
      logger.warn(LocalizableMessage.raw("Error reading configuration: " + oe, oe));
    }
    exceptions.addAll(errors);
    exceptions = Collections.unmodifiableList(exceptions);
    exceptions = Collections.unmodifiableList(new ArrayList<Exception>(errors));
    administrativeUsers = Collections.unmodifiableSet(alternateBindDNs);
    listeners = Collections.unmodifiableSet(connectionHandlers);
    backends = Collections.unmodifiableSet(backendDescriptors);