From e79461c53adce17f83f30954f8a03d67bb761a1f Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Mon, 06 Jul 2015 15:42:24 +0000
Subject: [PATCH] AutoRefactor'ed Use Diamond Operator

---
 opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/offline/OfflineInstaller.java |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/offline/OfflineInstaller.java b/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/offline/OfflineInstaller.java
index 70ca280..6a6a69a 100644
--- a/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/offline/OfflineInstaller.java
+++ b/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/offline/OfflineInstaller.java
@@ -70,18 +70,15 @@
  */
 public class OfflineInstaller extends Installer
 {
-  /** This map contains the ratio associated with each step. */
-  private final Map<ProgressStep, Integer> hmRatio =
-      new HashMap<ProgressStep, Integer>();
+  private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
 
+  /** This map contains the ratio associated with each step. */
+  private final Map<ProgressStep, Integer> hmRatio = new HashMap<>();
   /** This map contains the summary associated with each step. */
-  private final Map<ProgressStep, LocalizableMessage> hmSummary =
-      new HashMap<ProgressStep, LocalizableMessage>();
+  private final Map<ProgressStep, LocalizableMessage> hmSummary = new HashMap<>();
 
   private ApplicationException runError;
 
-  private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
-
   /**
    * Actually performs the install in this thread.  The thread is blocked.
    */
@@ -449,8 +446,7 @@
      * extracting, the value for downloading will be the double of the value for
      * extracting.
      */
-    Map<ProgressStep, Integer> hmTime =
-        new HashMap<ProgressStep, Integer>();
+    Map<ProgressStep, Integer> hmTime = new HashMap<>();
     hmTime.put(InstallProgressStep.CONFIGURING_SERVER, 5);
     hmTime.put(InstallProgressStep.CREATING_BASE_ENTRY, 10);
     hmTime.put(InstallProgressStep.IMPORTING_LDIF, 20);
@@ -463,8 +459,7 @@
     hmTime.put(InstallProgressStep.INITIALIZE_REPLICATED_SUFFIXES, 25);
 
     int totalTime = 0;
-    List<InstallProgressStep> steps =
-        new ArrayList<InstallProgressStep>();
+    List<InstallProgressStep> steps = new ArrayList<>();
     totalTime += hmTime.get(InstallProgressStep.CONFIGURING_SERVER);
     steps.add(InstallProgressStep.CONFIGURING_SERVER);
     if (createNotReplicatedSuffix())

--
Gitblit v1.10.0