commit | 5b7e18ee375cabe3b6b45997a52eee2dc4fb1016 | [log] [tgz] |
---|---|---|
author | Lars Vogel <Lars.Vogel@vogella.com> | Mon Jan 20 09:56:24 2020 +0100 |
committer | Lars Vogel <Lars.Vogel@vogella.com> | Tue Feb 04 12:37:23 2020 -0500 |
tree | 8e87886b69df53ecfc4f138ee29def7ce1a3bc9f | |
parent | c4cc1eca2cf831ed625a2f17b6cfbd36ff144234 [diff] |
Replaces redundant type information Using the batch cleanup operation via Source -> Cleanup -> "Replaces redundant type information" from standard JDT. Change-Id: Ifd6f7f47871119fcfe241e6fd8b4c82ff2486e9b Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/org.eclipse.jdt.launching.ui.macosx/src/org/eclipse/jdt/internal/ui/macbundler/BundleBuilder.java b/org.eclipse.jdt.launching.ui.macosx/src/org/eclipse/jdt/internal/ui/macbundler/BundleBuilder.java index 9f98ba2..415f0a0 100644 --- a/org.eclipse.jdt.launching.ui.macosx/src/org/eclipse/jdt/internal/ui/macbundler/BundleBuilder.java +++ b/org.eclipse.jdt.launching.ui.macosx/src/org/eclipse/jdt/internal/ui/macbundler/BundleBuilder.java
@@ -39,7 +39,7 @@ public class BundleBuilder implements BundleAttributes { - private List<Process> fProcesses= new ArrayList<Process>(); + private List<Process> fProcesses= new ArrayList<>(); private BundleDescription fBundleDescription;
diff --git a/org.eclipse.jdt.launching.ui.macosx/src/org/eclipse/jdt/internal/ui/macbundler/BundleDescription.java b/org.eclipse.jdt.launching.ui.macosx/src/org/eclipse/jdt/internal/ui/macbundler/BundleDescription.java index 1dc2b80..fa7ddd1 100644 --- a/org.eclipse.jdt.launching.ui.macosx/src/org/eclipse/jdt/internal/ui/macbundler/BundleDescription.java +++ b/org.eclipse.jdt.launching.ui.macosx/src/org/eclipse/jdt/internal/ui/macbundler/BundleDescription.java
@@ -42,14 +42,14 @@ private static final String ICON= "/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Resources/GenericApp.icns"; //$NON-NLS-1$ private static Set<String> RUN_MODE; { - RUN_MODE = new HashSet<String>(); + RUN_MODE = new HashSet<>(); RUN_MODE.add(ILaunchManager.RUN_MODE); } private ListenerList<IPropertyChangeListener> fListeners= new ListenerList<>(); private Properties fProperties= new Properties(); - private List<ResourceInfo> fClassPath= new ArrayList<ResourceInfo>(); - private List<ResourceInfo> fResources= new ArrayList<ResourceInfo>(); + private List<ResourceInfo> fClassPath= new ArrayList<>(); + private List<ResourceInfo> fResources= new ArrayList<>(); Properties fProperties2= new Properties();
diff --git a/org.eclipse.jdt.launching.ui.macosx/src/org/eclipse/jdt/internal/ui/macbundler/BundleWizardPage1.java b/org.eclipse.jdt.launching.ui.macosx/src/org/eclipse/jdt/internal/ui/macbundler/BundleWizardPage1.java index c655071..cc2138a 100644 --- a/org.eclipse.jdt.launching.ui.macosx/src/org/eclipse/jdt/internal/ui/macbundler/BundleWizardPage1.java +++ b/org.eclipse.jdt.launching.ui.macosx/src/org/eclipse/jdt/internal/ui/macbundler/BundleWizardPage1.java
@@ -197,7 +197,7 @@ // private stuff private void collectLaunchConfigs() { - ArrayList<ILaunchConfiguration> configs = new ArrayList<ILaunchConfiguration>(); + ArrayList<ILaunchConfiguration> configs = new ArrayList<>(); ILaunchManager manager = DebugPlugin.getDefault().getLaunchManager(); ILaunchConfigurationType type = manager.getLaunchConfigurationType(IJavaLaunchConfigurationConstants.ID_JAVA_APPLICATION); try {