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/admin/ads/util/ConnectionUtils.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ConnectionUtils.java b/opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ConnectionUtils.java
index a02e77a..e3c1090 100644
--- a/opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ConnectionUtils.java
+++ b/opendj-server-legacy/src/main/java/org/opends/admin/ads/util/ConnectionUtils.java
@@ -671,7 +671,7 @@
boolean throwException = false;
- if ((timeout > 0) && t.isAlive())
+ if (timeout > 0 && t.isAlive())
{
t.interrupt();
try
@@ -685,7 +685,7 @@
throwException = true;
}
- if ((pair[0] == null) && (pair[1] == null))
+ if (pair[0] == null && pair[1] == null)
{
throwException = true;
}
@@ -748,7 +748,7 @@
if (attrs != null)
{
Attribute attr = attrs.get(attrName);
- if ((attr != null) && (attr.size() > 0))
+ if (attr != null && attr.size() > 0)
{
Object o = attr.get();
if (o instanceof String)
--
Gitblit v1.10.0