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/replication/plugin/ReplLDIFOutputStream.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/ReplLDIFOutputStream.java b/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/ReplLDIFOutputStream.java
index 2e7d6be..d7c594b 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/ReplLDIFOutputStream.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/ReplLDIFOutputStream.java
@@ -100,11 +100,11 @@
         entryBuffer = ebytes.substring(0, endOfEntryIndex);
 
         // Send the entry
-        if ((numEntries>0) && (getNumExportedEntries() > numEntries))
+        if (numEntries>0 && getNumExportedEntries() > numEntries)
         {
           // This outputstream has reached the total number
           // of entries to export.
-          throw(new IOException());
+          throw new IOException();
         }
 
         // Add the entry bytes to the checksum

--
Gitblit v1.10.0