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/guitools/uninstaller/ui/ConfirmUninstallPanel.java | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/ui/ConfirmUninstallPanel.java b/opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/ui/ConfirmUninstallPanel.java
index 52d2066..3483d7b 100644
--- a/opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/ui/ConfirmUninstallPanel.java
+++ b/opendj-server-legacy/src/main/java/org/opends/guitools/uninstaller/ui/ConfirmUninstallPanel.java
@@ -64,8 +64,7 @@
private Set<String> outsideDbs;
private Set<String> outsideLogs;
- private HashMap<FieldName, JCheckBox> hmCbs =
- new HashMap<FieldName, JCheckBox>();
+ private HashMap<FieldName, JCheckBox> hmCbs = new HashMap<>();
/**
* The constructor of this class.
@@ -86,7 +85,7 @@
switch (fieldName)
{
case EXTERNAL_DB_DIRECTORIES:
- Set<String> s1 = new HashSet<String>();
+ Set<String> s1 = new HashSet<>();
if (outsideDbs.size() > 0
&& getCheckBox(FieldName.EXTERNAL_DB_DIRECTORIES).isSelected())
{
@@ -95,7 +94,7 @@
return s1;
case EXTERNAL_LOG_FILES:
- Set<String> s2 = new HashSet<String>();
+ Set<String> s2 = new HashSet<>();
if (outsideLogs.size() > 0
&& getCheckBox(FieldName.EXTERNAL_LOG_FILES).isSelected())
{
--
Gitblit v1.10.0