From 0b84d2442ea178dc9989a239f26be28327476c48 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 28 Apr 2015 09:24:26 +0000
Subject: [PATCH] AutoRefactor'ed use diamond operator

---
 opendj-grizzly/src/test/java/org/forgerock/opendj/grizzly/ConnectionFactoryTestCase.java |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/opendj-grizzly/src/test/java/org/forgerock/opendj/grizzly/ConnectionFactoryTestCase.java b/opendj-grizzly/src/test/java/org/forgerock/opendj/grizzly/ConnectionFactoryTestCase.java
index bc68d0c..730f82a 100644
--- a/opendj-grizzly/src/test/java/org/forgerock/opendj/grizzly/ConnectionFactoryTestCase.java
+++ b/opendj-grizzly/src/test/java/org/forgerock/opendj/grizzly/ConnectionFactoryTestCase.java
@@ -22,7 +22,7 @@
  *
  *
  *      Copyright 2010 Sun Microsystems, Inc.
- *      Portions Copyright 2011-2014 ForgeRock AS
+ *      Portions Copyright 2011-2015 ForgeRock AS
  */
 
 package org.forgerock.opendj.grizzly;
@@ -520,8 +520,7 @@
     @Test(dataProvider = "closeNotifyConfig")
     public void testCloseNotify(final CloseNotify config) throws Exception {
         final CountDownLatch connectLatch = new CountDownLatch(1);
-        final AtomicReference<LDAPClientContext> contextHolder =
-                new AtomicReference<LDAPClientContext>();
+        final AtomicReference<LDAPClientContext> contextHolder = new AtomicReference<>();
 
         final ServerConnectionFactory<LDAPClientContext, Integer> mockServer =
                 mock(ServerConnectionFactory.class);
@@ -622,8 +621,7 @@
     @Test
     public void testUnsolicitedNotifications() throws Exception {
         final CountDownLatch connectLatch = new CountDownLatch(1);
-        final AtomicReference<LDAPClientContext> contextHolder =
-                new AtomicReference<LDAPClientContext>();
+        final AtomicReference<LDAPClientContext> contextHolder = new AtomicReference<>();
 
         final ServerConnectionFactory<LDAPClientContext, Integer> mockServer =
                 mock(ServerConnectionFactory.class);

--
Gitblit v1.10.0