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/ui/DataReplicationPanel.java | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/ui/DataReplicationPanel.java b/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/ui/DataReplicationPanel.java
index b998fbe..d6d4765 100644
--- a/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/ui/DataReplicationPanel.java
+++ b/opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/ui/DataReplicationPanel.java
@@ -73,10 +73,8 @@
private JRadioButton rbReplicated;
private JCheckBox cbSecureReplication;
private JCheckBox cbTopologyExists;
- private HashMap<FieldName, JLabel> hmLabels =
- new HashMap<FieldName, JLabel>();
- private HashMap<FieldName, JTextComponent> hmFields =
- new HashMap<FieldName, JTextComponent>();
+ private HashMap<FieldName, JLabel> hmLabels = new HashMap<>();
+ private HashMap<FieldName, JTextComponent> hmFields = new HashMap<>();
/**
* Constructor of the panel.
@@ -372,8 +370,7 @@
*/
private void populateComponentMaps()
{
- HashMap<FieldName, LabelFieldDescriptor> hm =
- new HashMap<FieldName, LabelFieldDescriptor>();
+ HashMap<FieldName, LabelFieldDescriptor> hm = new HashMap<>();
hm.put(FieldName.REPLICATION_PORT, new LabelFieldDescriptor(
INFO_REPLICATION_PORT_LABEL.get(),
--
Gitblit v1.10.0