From 29bbf451a22916d39017ec1a3f53f4e0f0e65ee0 Mon Sep 17 00:00:00 2001 From: abranson Date: Mon, 1 Aug 2011 13:57:20 +0200 Subject: Java7 compatibility and some code refresh --- source/com/c2kernel/lifecycle/chooser/LDAPEntryChooser.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) mode change 100755 => 100644 source/com/c2kernel/lifecycle/chooser/LDAPEntryChooser.java (limited to 'source/com/c2kernel/lifecycle/chooser/LDAPEntryChooser.java') diff --git a/source/com/c2kernel/lifecycle/chooser/LDAPEntryChooser.java b/source/com/c2kernel/lifecycle/chooser/LDAPEntryChooser.java old mode 100755 new mode 100644 index c2cdb0c..6e91469 --- a/source/com/c2kernel/lifecycle/chooser/LDAPEntryChooser.java +++ b/source/com/c2kernel/lifecycle/chooser/LDAPEntryChooser.java @@ -8,7 +8,6 @@ import java.awt.Dimension; import java.util.ArrayList; import java.util.Collections; import java.util.Enumeration; -import java.util.Iterator; import javax.swing.JComboBox; @@ -20,7 +19,7 @@ public class LDAPEntryChooser extends JComboBox { DomainPath mDomainPath = null; - ArrayList allItems = new ArrayList(); + ArrayList allItems = new ArrayList<>(); public LDAPEntryChooser(DomainPath domPath, boolean editable) { -- cgit v1.2.3