From 791840ef10ecb9f25b4c3b97eacbf848bf75a261 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Wed, 24 Apr 2013 12:44:51 +0000
Subject: [PATCH] Replication Cleanup.
---
opendj-sdk/opends/src/server/org/opends/server/replication/protocol/StartSessionMsg.java | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/opendj-sdk/opends/src/server/org/opends/server/replication/protocol/StartSessionMsg.java b/opendj-sdk/opends/src/server/org/opends/server/replication/protocol/StartSessionMsg.java
index f456025..21e9d8d 100644
--- a/opendj-sdk/opends/src/server/org/opends/server/replication/protocol/StartSessionMsg.java
+++ b/opendj-sdk/opends/src/server/org/opends/server/replication/protocol/StartSessionMsg.java
@@ -23,7 +23,7 @@
*
*
* Copyright 2008-2009 Sun Microsystems, Inc.
- * Portions copyright 2011 ForgeRock AS
+ * Portions copyright 2011-2013 ForgeRock AS
*/
package org.opends.server.replication.protocol;
@@ -389,13 +389,7 @@
status = ServerStatus.valueOf(in[1]);
/* Read the assured flag */
- if (in[2] == 1)
- {
- assuredFlag = true;
- } else
- {
- assuredFlag = false;
- }
+ assuredFlag = in[2] == 1;
/* Read the assured mode */
assuredMode = AssuredMode.valueOf(in[3]);
@@ -403,7 +397,7 @@
/* Read the safe data level */
safeDataLevel = in[4];
- /* Read the refferals URLs */
+ /* Read the referrals URLs */
int pos = 5;
referralsURLs = new ArrayList<String>();
while (pos < in.length)
--
Gitblit v1.10.0