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/protocols/ldap/LDAPBinaryOptionTestCase.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/LDAPBinaryOptionTestCase.java b/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/LDAPBinaryOptionTestCase.java
index 2c92926..f215900 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/LDAPBinaryOptionTestCase.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/LDAPBinaryOptionTestCase.java
@@ -256,7 +256,7 @@
message = r.readMessage();
BindResponseProtocolOp bindResponse = message.getBindResponseProtocolOp();
assertEquals(bindResponse.getResultCode(), 0);
- ArrayList<RawAttribute> addAttrs = new ArrayList<RawAttribute>();
+ ArrayList<RawAttribute> addAttrs = new ArrayList<>();
addAttrs.add(RawAttribute.create("objectClass", "inetOrgPerson"));
addAttrs.add(RawAttribute.create("uid", "user.7"));
addAttrs.add(RawAttribute.create("cn", "user 7"));
@@ -277,7 +277,7 @@
assertEquals(addResponse.getResultCode(),0);
//Create a SEARCH request to search for this added entry.
- LinkedHashSet<String> attrs = new LinkedHashSet<String>();
+ LinkedHashSet<String> attrs = new LinkedHashSet<>();
//Request only the interesting attributes.
attrs.add("sn");
attrs.add("userCertificate;binary");
--
Gitblit v1.10.0