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/test/java/org/opends/server/api/AlertHandlerTestCase.java | 24 +++++++++---------------
1 files changed, 9 insertions(+), 15 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/api/AlertHandlerTestCase.java b/opendj-server-legacy/src/test/java/org/opends/server/api/AlertHandlerTestCase.java
index 6a97b23..79c17ed 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/api/AlertHandlerTestCase.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/api/AlertHandlerTestCase.java
@@ -97,9 +97,8 @@
{
int count = DummyAlertHandler.getAlertCount();
- DirectoryServer.sendAlertNotification(this, ALERT_TYPE,
- ALERT_MESSAGE);
- assertEquals(DummyAlertHandler.getAlertCount(), (count+1));
+ DirectoryServer.sendAlertNotification(this, ALERT_TYPE, ALERT_MESSAGE);
+ assertEquals(DummyAlertHandler.getAlertCount(), count+1);
}
@@ -119,9 +118,8 @@
{
int count = DummyAlertHandler.getAlertCount();
- DirectoryServer.sendAlertNotification(this, ALERT_TYPE,
- ALERT_MESSAGE);
- assertEquals(DummyAlertHandler.getAlertCount(), (count+1));
+ DirectoryServer.sendAlertNotification(this, ALERT_TYPE, ALERT_MESSAGE);
+ assertEquals(DummyAlertHandler.getAlertCount(), count+1);
}
finally
{
@@ -150,8 +148,7 @@
{
int count = DummyAlertHandler.getAlertCount();
- DirectoryServer.sendAlertNotification(this, ALERT_TYPE,
- ALERT_MESSAGE);
+ DirectoryServer.sendAlertNotification(this, ALERT_TYPE, ALERT_MESSAGE);
assertEquals(DummyAlertHandler.getAlertCount(), count);
}
finally
@@ -181,8 +178,7 @@
{
int count = DummyAlertHandler.getAlertCount();
- DirectoryServer.sendAlertNotification(this, ALERT_TYPE,
- ALERT_MESSAGE);
+ DirectoryServer.sendAlertNotification(this, ALERT_TYPE, ALERT_MESSAGE);
assertEquals(DummyAlertHandler.getAlertCount(), count);
}
finally
@@ -212,9 +208,8 @@
{
int count = DummyAlertHandler.getAlertCount();
- DirectoryServer.sendAlertNotification(this, ALERT_TYPE,
- ALERT_MESSAGE);
- assertEquals(DummyAlertHandler.getAlertCount(), (count+1));
+ DirectoryServer.sendAlertNotification(this, ALERT_TYPE, ALERT_MESSAGE);
+ assertEquals(DummyAlertHandler.getAlertCount(), count+1);
}
finally
{
@@ -244,8 +239,7 @@
{
int count = DummyAlertHandler.getAlertCount();
- DirectoryServer.sendAlertNotification(this, ALERT_TYPE,
- ALERT_MESSAGE);
+ DirectoryServer.sendAlertNotification(this, ALERT_TYPE, ALERT_MESSAGE);
assertEquals(DummyAlertHandler.getAlertCount(), count);
}
finally
--
Gitblit v1.10.0