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/main/java/org/opends/server/schema/CollationMatchingRuleFactory.java |   12 +++---------
 1 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/opendj-server-legacy/src/main/java/org/opends/server/schema/CollationMatchingRuleFactory.java b/opendj-server-legacy/src/main/java/org/opends/server/schema/CollationMatchingRuleFactory.java
index 2b09922..2173ec2 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/schema/CollationMatchingRuleFactory.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/schema/CollationMatchingRuleFactory.java
@@ -61,24 +61,18 @@
     MatchingRuleFactory<CollationMatchingRuleCfg> implements
     ConfigurationChangeListener<CollationMatchingRuleCfg>
 {
-
   private static final LocalizedLogger logger = LocalizedLogger.getLoggerForThisClass();
 
   /** Stores the list of available locales on this JVM. */
-  private static final Set<Locale> supportedLocales = new HashSet<Locale>(
-      Arrays.asList(Locale.getAvailableLocales()));
+  private static final Set<Locale> supportedLocales = new HashSet<>(Arrays.asList(Locale.getAvailableLocales()));
 
   /** Current Configuration. */
   private CollationMatchingRuleCfg currentConfig;
-
   /** Map of OID and the Matching Rule. */
-  private final Map<String, MatchingRule> matchingRules =
-      new HashMap<String, MatchingRule>();
+  private final Map<String, MatchingRule> matchingRules = new HashMap<>();
 
 
-  /**
-   * Creates a new instance of CollationMatchingRuleFactory.
-   */
+  /** Creates a new instance of CollationMatchingRuleFactory. */
   public CollationMatchingRuleFactory()
   {
     super();

--
Gitblit v1.10.0