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/DNConfigAttribute.java | 26 --------------------------
1 files changed, 0 insertions(+), 26 deletions(-)
diff --git a/opends/src/server/org/opends/server/config/DNConfigAttribute.java b/opends/src/server/org/opends/server/config/DNConfigAttribute.java
index d6ba5d4..2302fe0 100644
--- a/opends/src/server/org/opends/server/config/DNConfigAttribute.java
+++ b/opends/src/server/org/opends/server/config/DNConfigAttribute.java
@@ -239,7 +239,6 @@
*/
public String getDataType()
{
-
return "DN";
}
@@ -252,7 +251,6 @@
*/
public AttributeSyntax getSyntax()
{
-
return DirectoryServer.getDefaultStringSyntax();
}
@@ -270,7 +268,6 @@
public DN activeValue()
throws ConfigException
{
-
if ((activeValues == null) || activeValues.isEmpty())
{
int msgID = MSGID_CONFIG_ATTR_NO_STRING_VALUE;
@@ -297,7 +294,6 @@
*/
public List<DN> activeValues()
{
-
return activeValues;
}
@@ -317,7 +313,6 @@
public DN pendingValue()
throws ConfigException
{
-
if (! hasPendingValues())
{
return activeValue();
@@ -351,7 +346,6 @@
*/
public List<DN> pendingValues()
{
-
if (! hasPendingValues())
{
return activeValues;
@@ -372,7 +366,6 @@
public void setValue(DN value)
throws ConfigException
{
-
if (value == null)
{
int msgID = MSGID_CONFIG_ATTR_DN_NULL;
@@ -408,8 +401,6 @@
public void setValues(List<DN> values)
throws ConfigException
{
-
-
// First check if the set is empty and if that is allowed.
if ((values == null) || (values.isEmpty()))
{
@@ -498,7 +489,6 @@
*/
private static LinkedHashSet<AttributeValue> getValueSet(DN value)
{
-
LinkedHashSet<AttributeValue> valueSet;
if (value == null)
{
@@ -525,7 +515,6 @@
*/
private static LinkedHashSet<AttributeValue> getValueSet(List<DN> values)
{
-
if (values == null)
{
return null;
@@ -552,7 +541,6 @@
*/
public void applyPendingValues()
{
-
if (! hasPendingValues())
{
return;
@@ -579,8 +567,6 @@
public boolean valueIsAcceptable(AttributeValue value,
StringBuilder rejectReason)
{
-
-
// Make sure that the value is not null.
if (value == null)
{
@@ -637,7 +623,6 @@
boolean allowFailures)
throws ConfigException
{
-
if ((valueStrings == null) || valueStrings.isEmpty())
{
if (isRequired())
@@ -746,7 +731,6 @@
*/
public List<String> activeValuesToStrings()
{
-
ArrayList<String> valueStrings = new ArrayList<String>(activeValues.size());
for (DN dn : activeValues)
{
@@ -771,7 +755,6 @@
*/
public List<String> pendingValuesToStrings()
{
-
if (hasPendingValues())
{
ArrayList<String> valueStrings =
@@ -815,8 +798,6 @@
public ConfigAttribute getConfigAttribute(List<Attribute> attributeList)
throws ConfigException
{
-
-
ArrayList<DN> activeValues = null;
ArrayList<DN> pendingValues = null;
@@ -996,7 +977,6 @@
*/
private javax.management.Attribute _toJMXAttribute(boolean pending)
{
-
List<DN> requestedValues ;
String name ;
if (pending)
@@ -1072,7 +1052,6 @@
*/
public void toJMXAttribute(AttributeList attributeList)
{
-
if (activeValues.size() > 0)
{
if (isMultiValued())
@@ -1144,8 +1123,6 @@
*/
public void toJMXAttributeInfo(List<MBeanAttributeInfo> attributeInfoList)
{
-
-
if (isMultiValued())
{
attributeInfoList.add(new MBeanAttributeInfo(getName(),
@@ -1194,7 +1171,6 @@
*/
public MBeanParameterInfo toJMXParameterInfo()
{
-
if (isMultiValued())
{
return new MBeanParameterInfo(getName(), JMX_TYPE_STRING_ARRAY,
@@ -1223,7 +1199,6 @@
public void setValue(javax.management.Attribute jmxAttribute)
throws ConfigException
{
-
Object value = jmxAttribute.getValue();
if (value == null)
{
@@ -1352,7 +1327,6 @@
*/
public ConfigAttribute duplicate()
{
-
return new DNConfigAttribute(getName(), getDescription(), isRequired(),
isMultiValued(), requiresAdminAction(),
activeValues, pendingValues);
--
Gitblit v1.10.0