From a89f7014aeb71dba5c94404dfea7eb89e7eeee74 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 08 Jul 2015 06:48:02 +0000
Subject: [PATCH] AutoRefactor'ed Use Diamond Operator
---
opendj-server-legacy/src/test/java/org/opends/server/tools/RebuildIndexTestCase.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/tools/RebuildIndexTestCase.java b/opendj-server-legacy/src/test/java/org/opends/server/tools/RebuildIndexTestCase.java
index 2ffb30d..9100388 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/tools/RebuildIndexTestCase.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/tools/RebuildIndexTestCase.java
@@ -75,7 +75,7 @@
// Add the airius.com suffix to userRoot
final InternalClientConnection rootConnection =
InternalClientConnection.getRootConnection();
- final ArrayList<Modification> mods = new ArrayList<Modification>();
+ final ArrayList<Modification> mods = new ArrayList<>();
mods.add(new Modification(ModificationType.ADD,
Attributes.create("ds-cfg-base-dn", baseDN)));
// Backend should be disabled.
@@ -99,7 +99,7 @@
// remove the airius.com suffix to userRoot
final InternalClientConnection rootConnection =
InternalClientConnection.getRootConnection();
- final ArrayList<Modification> mods = new ArrayList<Modification>();
+ final ArrayList<Modification> mods = new ArrayList<>();
mods.add(new Modification(ModificationType.DELETE,
Attributes.create("ds-cfg-base-dn", baseDN)));
mods.add(new Modification(ModificationType.REPLACE,
--
Gitblit v1.10.0