From a41662c1136b2bb4a4198df89e0e87d2be3ef099 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Thu, 16 Jul 2015 14:57:56 +0000
Subject: [PATCH] AutoRefactor'ed simplify expressions

---
 opendj-server-legacy/src/main/java/org/opends/server/config/ConfigAttribute.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/config/ConfigAttribute.java b/opendj-server-legacy/src/main/java/org/opends/server/config/ConfigAttribute.java
index a6d9316..6b6f4c8 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/config/ConfigAttribute.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/config/ConfigAttribute.java
@@ -382,7 +382,7 @@
   {
     // If no values are provided, then check to see if this is a required
     // attribute.  If it is, then reject the change.
-    if ((values == null) || values.isEmpty())
+    if (values == null || values.isEmpty())
     {
       if (isRequired)
       {
@@ -420,7 +420,7 @@
 
     // If this is not a multivalued attribute but there were more values
     // provided, then reject it.
-    if ((! isMultiValued) && iterator.hasNext())
+    if (! isMultiValued && iterator.hasNext())
     {
       LocalizableMessage message = ERR_CONFIG_ATTR_SET_VALUES_IS_SINGLE_VALUED.get(name);
       throw new ConfigException(message);

--
Gitblit v1.10.0