From d709a2e4eecc9773af376587c476e33f0ccefce5 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 20 May 2014 15:09: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.
---
opends/src/server/org/opends/server/replication/service/ReplicationMonitor.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/service/ReplicationMonitor.java b/opends/src/server/org/opends/server/replication/service/ReplicationMonitor.java
index ec307b8..7f47879 100644
--- a/opends/src/server/org/opends/server/replication/service/ReplicationMonitor.java
+++ b/opends/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;
}
@@ -233,7 +233,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)
{
AttributeType type = DirectoryServer.getDefaultAttributeType(name);
@@ -249,7 +249,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