From 55b437508acb80b4931a5d7f37b987adf367fa46 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Thu, 05 Jan 2012 17:37:33 +0000
Subject: [PATCH] Spring cleaning ! Fix minor issues and optimizations suggested by FindBugs and NetBeans.

---
 opends/src/server/org/opends/server/replication/service/ReplicationDomain.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/service/ReplicationDomain.java b/opends/src/server/org/opends/server/replication/service/ReplicationDomain.java
index 38fc552..af277cc 100644
--- a/opends/src/server/org/opends/server/replication/service/ReplicationDomain.java
+++ b/opends/src/server/org/opends/server/replication/service/ReplicationDomain.java
@@ -23,7 +23,7 @@
  *
  *
  *      Copyright 2008-2010 Sun Microsystems, Inc.
- *      Portions Copyright 2011 ForgeRock AS
+ *      Portions Copyright 2011-2012 ForgeRock AS
  */
 package org.opends.server.replication.service;
 
@@ -1559,8 +1559,8 @@
             // - sleep to let time to the other peer to reconnect if needed
             // - and launch another attempt
             try { Thread.sleep(1000); } catch(Exception e){}
-            logError(NOTE_RESENDING_INIT_TARGET.get((exportRootException!=null?
-                exportRootException.getLocalizedMessage():"")));
+            logError(NOTE_RESENDING_INIT_TARGET.get(
+                exportRootException.getLocalizedMessage()));
 
             continue;
           }

--
Gitblit v1.10.0