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/ReadOnlyConfigAttribute.java | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)
diff --git a/opends/src/server/org/opends/server/config/ReadOnlyConfigAttribute.java b/opends/src/server/org/opends/server/config/ReadOnlyConfigAttribute.java
index 53a74f5..4ea5097 100644
--- a/opends/src/server/org/opends/server/config/ReadOnlyConfigAttribute.java
+++ b/opends/src/server/org/opends/server/config/ReadOnlyConfigAttribute.java
@@ -147,7 +147,6 @@
*/
public String getDataType()
{
-
return "ReadOnly";
}
@@ -160,7 +159,6 @@
*/
public AttributeSyntax getSyntax()
{
-
return DirectoryServer.getDefaultStringSyntax();
}
@@ -178,7 +176,6 @@
public String activeValue()
throws ConfigException
{
-
if ((values == null) || values.isEmpty())
{
int msgID = MSGID_CONFIG_ATTR_NO_STRING_VALUE;
@@ -205,7 +202,6 @@
*/
public List<String> activeValues()
{
-
return values;
}
@@ -225,7 +221,6 @@
public String pendingValue()
throws ConfigException
{
-
return activeValue();
}
@@ -240,7 +235,6 @@
*/
public List<String> pendingValues()
{
-
return activeValues();
}
@@ -256,7 +250,6 @@
public void setValue(String value)
throws ConfigException
{
-
int msgID = MSGID_CONFIG_ATTR_READ_ONLY;
String message = getMessage(msgID, getName());
throw new ConfigException(msgID, message);
@@ -275,7 +268,6 @@
public void setValues(List<String> values)
throws ConfigException
{
-
int msgID = MSGID_CONFIG_ATTR_READ_ONLY;
String message = getMessage(msgID, getName());
throw new ConfigException(msgID, message);
@@ -292,7 +284,6 @@
*/
private static LinkedHashSet<AttributeValue> getValueSet(String value)
{
-
LinkedHashSet<AttributeValue> valueSet =
new LinkedHashSet<AttributeValue>(1);
@@ -313,7 +304,6 @@
*/
private static LinkedHashSet<AttributeValue> getValueSet(List<String> values)
{
-
if (values == null)
{
return null;
@@ -359,7 +349,6 @@
public boolean valueIsAcceptable(AttributeValue value,
StringBuilder rejectReason)
{
-
rejectReason.append(getMessage(MSGID_CONFIG_ATTR_READ_ONLY, getName()));
return false;
}
@@ -390,7 +379,6 @@
boolean allowFailures)
throws ConfigException
{
-
if ((valueStrings == null) || valueStrings.isEmpty())
{
return new LinkedHashSet<AttributeValue>();
@@ -424,7 +412,6 @@
*/
public List<String> activeValuesToStrings()
{
-
return values;
}
@@ -443,7 +430,6 @@
*/
public List<String> pendingValuesToStrings()
{
-
return activeValuesToStrings();
}
@@ -473,7 +459,6 @@
public ConfigAttribute getConfigAttribute(List<Attribute> attributeList)
throws ConfigException
{
-
// The attribute won't be present in the entry, so we'll just return a
// reference to this attribute.
return duplicate();
@@ -491,7 +476,6 @@
*/
public javax.management.Attribute toJMXAttribute()
{
-
if (isMultiValued())
{
String[] valueArray = new String[values.size()];
@@ -542,7 +526,6 @@
*/
public void toJMXAttribute(AttributeList attributeList)
{
-
javax.management.Attribute jmxAttr = toJMXAttribute();
attributeList.add(jmxAttr);
}
@@ -563,8 +546,6 @@
*/
public void toJMXAttributeInfo(List<MBeanAttributeInfo> attributeInfoList)
{
-
-
if (isMultiValued())
{
attributeInfoList.add(new MBeanAttributeInfo(getName(),
@@ -592,7 +573,6 @@
*/
public MBeanParameterInfo toJMXParameterInfo()
{
-
if (isMultiValued())
{
return new MBeanParameterInfo(getName(), JMX_TYPE_STRING_ARRAY,
@@ -621,7 +601,6 @@
public void setValue(javax.management.Attribute jmxAttribute)
throws ConfigException
{
-
int msgID = MSGID_CONFIG_ATTR_READ_ONLY;
String message = getMessage(msgID, getName());
throw new ConfigException(msgID, message);
@@ -636,7 +615,6 @@
*/
public ConfigAttribute duplicate()
{
-
return new ReadOnlyConfigAttribute(getName(), getDescription(),
activeValues());
}
--
Gitblit v1.10.0