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/TestAddRequestProtocolOp.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/TestAddRequestProtocolOp.java b/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/TestAddRequestProtocolOp.java
index 4b2e342..04902a6 100644
--- a/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/TestAddRequestProtocolOp.java
+++ b/opendj-server-legacy/src/test/java/org/opends/server/protocols/ldap/TestAddRequestProtocolOp.java
@@ -22,7 +22,7 @@
*
*
* Copyright 2006-2008 Sun Microsystems, Inc.
- * Portions Copyright 2013-2014 ForgeRock AS
+ * Portions Copyright 2013-2015 ForgeRock AS
*/
package org.opends.server.protocols.ldap;
@@ -92,11 +92,11 @@
int numValues,
String prefix)
{
- List<RawAttribute> attributes = new ArrayList<RawAttribute>();
+ List<RawAttribute> attributes = new ArrayList<>();
for (int i = 0; i < numAttributes; i++)
{
- ArrayList<ByteString> values = new ArrayList<ByteString>();
+ ArrayList<ByteString> values = new ArrayList<>();
for (int j = 0; j < numValues; j++)
{
values.add(ByteString.valueOf(prefix + "Value" + i + "." + j));
--
Gitblit v1.10.0