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/guitools/controlpanel/util/Utilities.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
index 53ff2de..be874dc 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java
@@ -1229,7 +1229,7 @@
if (multipleScreen)
{
- comp.setLocation((screenSize.width / 4) - (width / 2),
+ comp.setLocation(screenSize.width / 4 - width / 2,
(screenSize.height - height) / 2);
} else
{
@@ -2770,7 +2770,7 @@
{
if (v2 instanceof Number)
{
- if ((v1 instanceof Double) || (v2 instanceof Double))
+ if (v1 instanceof Double || v2 instanceof Double)
{
double n1 = ((Number) v1).doubleValue();
double n2 = ((Number) v2).doubleValue();
--
Gitblit v1.10.0