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

Fabio Pistolesi
04.51.2016 15431da536e99d58dce3dc1bf9c7ab94d1f096a2
opendj-server-legacy/src/main/java/org/opends/server/replication/server/ReplicationServer.java
@@ -22,7 +22,7 @@
 *
 *
 *      Copyright 2006-2010 Sun Microsystems, Inc.
 *      Portions Copyright 2011-2015 ForgeRock AS
 *      Portions Copyright 2011-2016 ForgeRock AS.
 */
package org.opends.server.replication.server;
@@ -171,7 +171,7 @@
    this.domainPredicate = predicate;
    enableExternalChangeLog();
    this.changelogDB = new FileChangelogDB(this, cfg);
    this.changelogDB = new FileChangelogDB(this, config.getReplicationDBDirectory());
    replSessionSecurity = new ReplSessionSecurity();
    initialize();
@@ -1329,6 +1329,15 @@
    return dsrsShutdownSync;
  }
  /**
   * Returns whether change-log indexing is enabled for this RS.
   * @return true if change-log indexing is enabled for this RS.
   */
  public boolean isChangeNumberEnabled()
  {
    return config.isComputeChangeNumber();
  }
  /** {@inheritDoc} */
  @Override
  public String toString()