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

boli
13.10.2009 1888509628eaf7d33e1c7e86148064b20504cbdf
Fix for issue 2415: Fixed a typo in applyConfigurationChange that could cause a ClassCastExcepion when applying changes to a publisher using an async writer.
1 files modified
4 ■■■■ changed files
opends/src/server/org/opends/server/loggers/TextErrorLogPublisher.java 4 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/loggers/TextErrorLogPublisher.java
@@ -22,7 +22,7 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Copyright 2006-2009 Sun Microsystems, Inc.
 */
package org.opends.server.loggers;
import org.opends.messages.Message;
@@ -494,7 +494,7 @@
      if(currentWriter instanceof MultifileTextWriter)
      {
        MultifileTextWriter mfWriter = (MultifileTextWriter)writer;
        MultifileTextWriter mfWriter = (MultifileTextWriter)currentWriter;
        mfWriter.setNamingPolicy(fnPolicy);
        mfWriter.setFilePermissions(perm);