From 15a0d1142e68d860e17f0b3dd130d5c44d4dd9f2 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Sat, 22 Sep 2012 12:21:06 +0000
Subject: [PATCH] Code cleanup after running Findbugs. Remove useless initializations, useless toString() on strings, and other redundant if tests...

---
 opends/src/server/org/opends/server/replication/server/ExternalChangeLogSessionImpl.java |   16 ++--------------
 1 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/server/ExternalChangeLogSessionImpl.java b/opends/src/server/org/opends/server/replication/server/ExternalChangeLogSessionImpl.java
index 34af3ab..7584a5d 100644
--- a/opends/src/server/org/opends/server/replication/server/ExternalChangeLogSessionImpl.java
+++ b/opends/src/server/org/opends/server/replication/server/ExternalChangeLogSessionImpl.java
@@ -23,6 +23,7 @@
  *
  *
  *      Copyright 2009-2010 Sun Microsystems, Inc.
+ *      Portions Copyright 2012 ForgeRock AS
  */
 package org.opends.server.replication.server;
 
@@ -33,7 +34,7 @@
 import org.opends.server.types.DirectoryException;
 
 /**
- * This interface defines a session used to search the external changelog
+ * This class implements a session used to search the external changelog
  * in the Directory Server.
  */
 public class ExternalChangeLogSessionImpl
@@ -41,18 +42,7 @@
 {
 
   ECLServerHandler handler;
-  ReplicationServer rs;
 
-  /**
-   * Create a new external changelog session.
-   * @param rs The replication server to which we will request the log.
-   * @throws DirectoryException When an error occurs.
-   */
-  public ExternalChangeLogSessionImpl(ReplicationServer rs)
-  throws DirectoryException
-  {
-    this.rs = rs;
-  }
 
   /**
    * Create a new external changelog session.
@@ -66,8 +56,6 @@
       StartECLSessionMsg startECLSessionMsg)
   throws DirectoryException
   {
-    this.rs = rs;
-
     this.handler = new ECLServerHandler(
         rs.getServerURL(),
         rs.getServerId(),

--
Gitblit v1.10.0