From a49dee3f75d6e2548e9114d9495655dd56f06973 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 01 Mar 2007 05:18:42 +0000
Subject: [PATCH] Remove blank lines at the beginning of methods left after eliminating the debugEnter and debugConstructor calls.
---
opends/src/server/org/opends/server/config/IntegerWithUnitConfigAttribute.java | 32 --------------------------------
1 files changed, 0 insertions(+), 32 deletions(-)
diff --git a/opends/src/server/org/opends/server/config/IntegerWithUnitConfigAttribute.java b/opends/src/server/org/opends/server/config/IntegerWithUnitConfigAttribute.java
index aae2c11..4902347 100644
--- a/opends/src/server/org/opends/server/config/IntegerWithUnitConfigAttribute.java
+++ b/opends/src/server/org/opends/server/config/IntegerWithUnitConfigAttribute.java
@@ -296,7 +296,6 @@
*/
public String getDataType()
{
-
return "IntegerWithUnit";
}
@@ -309,7 +308,6 @@
*/
public AttributeSyntax getSyntax()
{
-
return DirectoryServer.getDefaultStringSyntax();
}
@@ -324,7 +322,6 @@
*/
public long activeIntValue()
{
-
return activeIntValue;
}
@@ -337,7 +334,6 @@
*/
public String activeUnit()
{
-
return activeUnit;
}
@@ -352,7 +348,6 @@
*/
public long activeCalculatedValue()
{
-
return activeCalculatedValue;
}
@@ -368,7 +363,6 @@
*/
public long pendingIntValue()
{
-
if (hasPendingValues())
{
return pendingIntValue;
@@ -390,7 +384,6 @@
*/
public String pendingUnit()
{
-
if (hasPendingValues())
{
return pendingUnit;
@@ -413,7 +406,6 @@
*/
public long pendingCalculatedValue()
{
-
if (hasPendingValues())
{
return pendingCalculatedValue;
@@ -435,7 +427,6 @@
*/
public HashMap<String,Double> getUnits()
{
-
return units;
}
@@ -451,7 +442,6 @@
*/
public boolean hasLowerBound()
{
-
return hasLowerBound;
}
@@ -466,7 +456,6 @@
*/
public long getLowerBound()
{
-
return lowerBound;
}
@@ -482,7 +471,6 @@
*/
public boolean hasUpperBound()
{
-
return hasUpperBound;
}
@@ -497,7 +485,6 @@
*/
public long getUpperBound()
{
-
return upperBound;
}
@@ -517,7 +504,6 @@
public void setValue(long intValue, String unit)
throws ConfigException
{
-
if ((unit == null) || (! units.containsKey(unit)))
{
int msgID = MSGID_CONFIG_ATTR_INVALID_UNIT;
@@ -573,7 +559,6 @@
public void setValue(String value)
throws ConfigException
{
-
int spacePos = value.indexOf(' ');
if (spacePos <= 0)
{
@@ -617,7 +602,6 @@
private static LinkedHashSet<AttributeValue> getValueSet(long intValue,
String unit)
{
-
if (unit == null)
{
return null;
@@ -642,7 +626,6 @@
*/
public void applyPendingValues()
{
-
if (! hasPendingValues())
{
return;
@@ -671,8 +654,6 @@
public boolean valueIsAcceptable(AttributeValue value,
StringBuilder rejectReason)
{
-
-
// Get a string representation of the value and convert it to lowercase.
String lowerValue = value.getStringValue().toLowerCase();
@@ -697,8 +678,6 @@
public boolean valueIsAcceptable(String lowerValue,
StringBuilder rejectReason)
{
-
-
// Find the first space in the value, since it should separate the integer
// from the unit.
int spacePos = lowerValue.indexOf(' ');
@@ -792,7 +771,6 @@
stringsToValues(List<String> valueStrings, boolean allowFailures)
throws ConfigException
{
-
if ((valueStrings == null) || valueStrings.isEmpty())
{
if (isRequired())
@@ -892,7 +870,6 @@
*/
public List<String> activeValuesToStrings()
{
-
ArrayList<String> valueStrings = new ArrayList<String>(1);
valueStrings.add(activeIntValue + " " + activeUnit);
@@ -914,7 +891,6 @@
*/
public List<String> pendingValuesToStrings()
{
-
if (hasPendingValues())
{
ArrayList<String> valueStrings = new ArrayList<String>(1);
@@ -954,8 +930,6 @@
public ConfigAttribute getConfigAttribute(List<Attribute> attributeList)
throws ConfigException
{
-
-
long activeIntValue = 0;
long pendingIntValue = 0;
String activeUnit = null;
@@ -1173,7 +1147,6 @@
*/
public javax.management.Attribute toJMXAttribute()
{
-
return new javax.management.Attribute(getName(),
activeIntValue + " " + activeUnit);
}
@@ -1208,7 +1181,6 @@
*/
public void toJMXAttribute(AttributeList attributeList)
{
-
String activeValue = activeIntValue + " " + activeUnit;
attributeList.add(new javax.management.Attribute(getName(), activeValue));
@@ -1237,7 +1209,6 @@
*/
public void toJMXAttributeInfo(List<MBeanAttributeInfo> attributeInfoList)
{
-
attributeInfoList.add(new MBeanAttributeInfo(getName(),
String.class.getName(),
getDescription(), true, true,
@@ -1264,7 +1235,6 @@
*/
public MBeanParameterInfo toJMXParameterInfo()
{
-
return new MBeanParameterInfo(getName(), String.class.getName(),
getDescription());
}
@@ -1285,7 +1255,6 @@
public void setValue(javax.management.Attribute jmxAttribute)
throws ConfigException
{
-
Object value = jmxAttribute.getValue();
if (value instanceof String)
{
@@ -1309,7 +1278,6 @@
*/
public ConfigAttribute duplicate()
{
-
return new IntegerWithUnitConfigAttribute(getName(), getDescription(),
requiresAdminAction(), units,
hasLowerBound, lowerBound,
--
Gitblit v1.10.0