From 90a6ab6c63699343acf3adcd4346bce2f5665bdd Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Tue, 07 Jul 2015 15:12:28 +0000
Subject: [PATCH] AutoRefactor'ed Use Diamond Operator
---
opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/ConfigurableEnvironment.java | 17 +++++------------
1 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/ConfigurableEnvironment.java b/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/ConfigurableEnvironment.java
index 6994018..49774fa 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/ConfigurableEnvironment.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/backends/jeb/ConfigurableEnvironment.java
@@ -204,25 +204,18 @@
ConfigConstants.NAME_PREFIX_CFG + "je-property";
- /**
- * A map of JE property names to the corresponding configuration attribute.
- */
- private static HashMap<String, String> attrMap =
- new HashMap<String, String>();
-
+ /** A map of JE property names to the corresponding configuration attribute. */
+ private static HashMap<String, String> attrMap = new HashMap<>();
/**
* A map of configuration attribute names to the corresponding configuration
* object getter method.
*/
- private static HashMap<String,Method> methodMap =
- new HashMap<String, Method>();
-
+ private static HashMap<String, Method> methodMap = new HashMap<>();
/**
* A map of configuration attribute names to the corresponding configuration
* PropertyDefinition.
*/
- private static HashMap<String,PropertyDefinition> defnMap =
- new HashMap<String, PropertyDefinition>();
+ private static HashMap<String, PropertyDefinition> defnMap = new HashMap<>();
/** Pulled from resource/admin/ABBREVIATIONS.xsl. db is mose common. */
@@ -550,7 +543,7 @@
}
// Set to catch duplicate properties.
- HashSet<String> uniqueJEProperties = new HashSet<String>();
+ HashSet<String> uniqueJEProperties = new HashSet<>();
// Iterate through the config values associated with a JE property.
for (String jeEntry : jeProperties)
--
Gitblit v1.10.0