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/tools/makeldif/TemplateEntry.java |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/tools/makeldif/TemplateEntry.java b/opendj-server-legacy/src/main/java/org/opends/server/tools/makeldif/TemplateEntry.java
index 6a2a882..8b7aac9 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/tools/makeldif/TemplateEntry.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/tools/makeldif/TemplateEntry.java
@@ -344,7 +344,7 @@
     // Get the information necessary to write the LDIF.
     BufferedWriter writer     = exportConfig.getWriter();
     int            wrapColumn = exportConfig.getWrapColumn();
-    boolean        wrapLines  = (wrapColumn > 1);
+    boolean        wrapLines  = wrapColumn > 1;
 
 
     // First, write the DN.  It will always be included.
@@ -381,8 +381,7 @@
       {
         for (Attribute a : userAttributes.get(attrType))
         {
-          if (a.isVirtual() &&
-              (! exportConfig.includeVirtualAttributes()))
+          if (a.isVirtual() && !exportConfig.includeVirtualAttributes())
           {
             continue;
           }
@@ -425,8 +424,7 @@
         {
           for (Attribute a : operationalAttributes.get(attrType))
           {
-            if (a.isVirtual() &&
-                (! exportConfig.includeVirtualAttributes()))
+            if (a.isVirtual() && !exportConfig.includeVirtualAttributes())
             {
               continue;
             }

--
Gitblit v1.10.0