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/GenerationIdChecksum.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/GenerationIdChecksum.java b/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/GenerationIdChecksum.java
index 7f6aa1e..0da402d 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/GenerationIdChecksum.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/replication/plugin/GenerationIdChecksum.java
@@ -53,7 +53,7 @@
* the same checksum value on every platforms, we always exclude the CR and
* LF characters from the computation.
*/
- if ((b != 0x0D) && (b != 0x0A)) // CR=0D and LF=0A
+ if (b != 0x0D && b != 0x0A) // CR=0D and LF=0A
{
checksum += b;
}
@@ -68,7 +68,7 @@
/** {@inheritDoc} */
public void update(byte[] b, int off, int len)
{
- for (int i = off; i < (off + len); i++)
+ for (int i = off; i < off + len; i++)
{
updateWithOneByte(b[i]);
}
--
Gitblit v1.10.0