From d6bda618737d3dbb319864f13305f679e916f808 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Fri, 06 Jun 2014 13:19:56 +0000
Subject: [PATCH] Code cleanup. Used UCDetector and AutoRefactor Eclipse plugins to: * reduce visibility of class members, * add final keywords to fields, * convert comments to javadocs, * etc.

---
 opendj3-server-dev/src/server/org/opends/server/replication/service/ReplicationMonitor.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/opendj3-server-dev/src/server/org/opends/server/replication/service/ReplicationMonitor.java b/opendj3-server-dev/src/server/org/opends/server/replication/service/ReplicationMonitor.java
index 05d6db4..cc588a8 100644
--- a/opendj3-server-dev/src/server/org/opends/server/replication/service/ReplicationMonitor.java
+++ b/opendj3-server-dev/src/server/org/opends/server/replication/service/ReplicationMonitor.java
@@ -42,13 +42,13 @@
  */
 public class ReplicationMonitor extends MonitorProvider<MonitorProviderCfg>
 {
-  private ReplicationDomain domain;
+  private final ReplicationDomain domain;
 
   /**
    * Create a new replication monitor.
    * @param domain the plugin which created the monitor
    */
-  public ReplicationMonitor(ReplicationDomain domain)
+  ReplicationMonitor(ReplicationDomain domain)
   {
     this.domain = domain;
   }
@@ -231,7 +231,7 @@
    * @param name the name of the attribute to add.
    * @param value The integer value of he attribute to add.
    */
-  public static void addMonitorData(List<Attribute> attributes, String name,
+  private static void addMonitorData(List<Attribute> attributes, String name,
       long value)
   {
     addMonitorData(attributes, name, String.valueOf(value));
@@ -245,7 +245,7 @@
    * @param name the name of the attribute to add.
    * @param value The String value of he attribute to add.
    */
-  public static void addMonitorData(List<Attribute> attributes, String name,
+  private static void addMonitorData(List<Attribute> attributes, String name,
       String value)
   {
     AttributeType type = DirectoryServer.getDefaultAttributeType(name);

--
Gitblit v1.10.0