diff options
author | Alexander Kurtakov | 2017-08-21 05:55:41 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2017-08-21 05:55:41 +0000 |
commit | ca49e24bf3f9e72f4e4b5caffc0c268c686b6028 (patch) | |
tree | 5c07fdc8f87401abfcf64cf17dacd3cdfa0d0191 /bundles/org.eclipse.equinox.frameworkadmin | |
parent | 231566e8f6ba508f1dcce06d4b5a23d6b57e997d (diff) | |
download | rt.equinox.p2-ca49e24bf3f9e72f4e4b5caffc0c268c686b6028.tar.gz rt.equinox.p2-ca49e24bf3f9e72f4e4b5caffc0c268c686b6028.tar.xz rt.equinox.p2-ca49e24bf3f9e72f4e4b5caffc0c268c686b6028.zip |
Bug 521163 - Move equinox frameworkadmin to Java 8
Bump minor version, remove duplicate type declarations, add missing
Override annotations.
Change-Id: Ia46a54f9f48b29c17fef04a342b6ad182f7576ab
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.equinox.frameworkadmin')
9 files changed, 66 insertions, 25 deletions
diff --git a/bundles/org.eclipse.equinox.frameworkadmin/.classpath b/bundles/org.eclipse.equinox.frameworkadmin/.classpath index 64c5e31b7..eca7bdba8 100644 --- a/bundles/org.eclipse.equinox.frameworkadmin/.classpath +++ b/bundles/org.eclipse.equinox.frameworkadmin/.classpath @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <classpath> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> <classpathentry kind="src" path="src"/> <classpathentry kind="output" path="bin"/> diff --git a/bundles/org.eclipse.equinox.frameworkadmin/.settings/org.eclipse.jdt.core.prefs b/bundles/org.eclipse.equinox.frameworkadmin/.settings/org.eclipse.jdt.core.prefs index 409b87267..0c894003c 100644 --- a/bundles/org.eclipse.equinox.frameworkadmin/.settings/org.eclipse.jdt.core.prefs +++ b/bundles/org.eclipse.equinox.frameworkadmin/.settings/org.eclipse.jdt.core.prefs @@ -1,8 +1,18 @@ eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.annotation.inheritNullAnnotations=disabled +org.eclipse.jdt.core.compiler.annotation.missingNonNullByDefaultAnnotation=ignore +org.eclipse.jdt.core.compiler.annotation.nonnull=org.eclipse.jdt.annotation.NonNull +org.eclipse.jdt.core.compiler.annotation.nonnull.secondary= +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault=org.eclipse.jdt.annotation.NonNullByDefault +org.eclipse.jdt.core.compiler.annotation.nonnullbydefault.secondary= +org.eclipse.jdt.core.compiler.annotation.nullable=org.eclipse.jdt.annotation.Nullable +org.eclipse.jdt.core.compiler.annotation.nullable.secondary= +org.eclipse.jdt.core.compiler.annotation.nullanalysis=disabled org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve -org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.compliance=1.8 org.eclipse.jdt.core.compiler.debug.lineNumber=generate org.eclipse.jdt.core.compiler.debug.localVariable=generate org.eclipse.jdt.core.compiler.debug.sourceFile=generate @@ -18,6 +28,7 @@ org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod= org.eclipse.jdt.core.compiler.problem.discouragedReference=warning org.eclipse.jdt.core.compiler.problem.emptyStatement=warning org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.explicitlyClosedAutoCloseable=ignore org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore org.eclipse.jdt.core.compiler.problem.fatalOptionalError=disabled org.eclipse.jdt.core.compiler.problem.fieldHiding=warning @@ -25,6 +36,7 @@ org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning org.eclipse.jdt.core.compiler.problem.forbiddenReference=error org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning +org.eclipse.jdt.core.compiler.problem.includeNullInfoFromAsserts=disabled org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=warning @@ -35,7 +47,9 @@ org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsNotVisibleRef=disabled org.eclipse.jdt.core.compiler.problem.invalidJavadocTagsVisibility=public org.eclipse.jdt.core.compiler.problem.localVariableHiding=warning org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning +org.eclipse.jdt.core.compiler.problem.missingDefaultCase=ignore org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=warning +org.eclipse.jdt.core.compiler.problem.missingEnumCaseDespiteDefault=disabled org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=error org.eclipse.jdt.core.compiler.problem.missingJavadocComments=ignore org.eclipse.jdt.core.compiler.problem.missingJavadocCommentsOverriding=disabled @@ -51,23 +65,40 @@ org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignor org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=warning +org.eclipse.jdt.core.compiler.problem.nonnullParameterAnnotationDropped=warning +org.eclipse.jdt.core.compiler.problem.nonnullTypeVariableFromLegacyInvocation=warning +org.eclipse.jdt.core.compiler.problem.nullAnnotationInferenceConflict=error org.eclipse.jdt.core.compiler.problem.nullReference=error +org.eclipse.jdt.core.compiler.problem.nullSpecViolation=error +org.eclipse.jdt.core.compiler.problem.nullUncheckedConversion=warning org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore +org.eclipse.jdt.core.compiler.problem.pessimisticNullAnalysisForFreeTypeVariables=warning org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=warning org.eclipse.jdt.core.compiler.problem.potentialNullReference=warning +org.eclipse.jdt.core.compiler.problem.potentiallyUnclosedCloseable=ignore org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning +org.eclipse.jdt.core.compiler.problem.redundantNullAnnotation=warning org.eclipse.jdt.core.compiler.problem.redundantNullCheck=warning +org.eclipse.jdt.core.compiler.problem.redundantSpecificationOfTypeArguments=warning org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBePotentiallyStatic=ignore +org.eclipse.jdt.core.compiler.problem.reportMethodCanBeStatic=ignore org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled +org.eclipse.jdt.core.compiler.problem.syntacticNullAnalysisForFields=disabled org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=warning org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning +org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=enabled org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning +org.eclipse.jdt.core.compiler.problem.unclosedCloseable=warning org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning +org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentType=warning +org.eclipse.jdt.core.compiler.problem.unlikelyCollectionMethodArgumentTypeStrict=disabled +org.eclipse.jdt.core.compiler.problem.unlikelyEqualsArgumentType=info org.eclipse.jdt.core.compiler.problem.unnecessaryElse=warning org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore @@ -75,6 +106,7 @@ org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=warning org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled +org.eclipse.jdt.core.compiler.problem.unusedExceptionParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedImport=warning org.eclipse.jdt.core.compiler.problem.unusedLabel=warning org.eclipse.jdt.core.compiler.problem.unusedLocal=warning @@ -84,9 +116,10 @@ org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference= org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning +org.eclipse.jdt.core.compiler.problem.unusedTypeParameter=ignore org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning -org.eclipse.jdt.core.compiler.source=1.5 +org.eclipse.jdt.core.compiler.source=1.8 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 diff --git a/bundles/org.eclipse.equinox.frameworkadmin/META-INF/MANIFEST.MF b/bundles/org.eclipse.equinox.frameworkadmin/META-INF/MANIFEST.MF index 181be07b0..a3e8cc420 100644 --- a/bundles/org.eclipse.equinox.frameworkadmin/META-INF/MANIFEST.MF +++ b/bundles/org.eclipse.equinox.frameworkadmin/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.equinox.frameworkadmin;singleton:=true -Bundle-Version: 2.0.300.qualifier +Bundle-Version: 2.1.0.qualifier Bundle-Vendor: %providerName Bundle-Localization: plugin Import-Package: org.eclipse.osgi.service.pluginconversion;version="1.0.0", @@ -23,6 +23,6 @@ Export-Package: org.eclipse.equinox.frameworkadmin;version="2.0.0", org.eclipse.pde.core, org.eclipse.pde.ui, org.eclipse.equinox.p2.publisher.eclipse" -Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Require-Bundle: org.eclipse.equinox.common;bundle-version="3.4.0" Bundle-ActivationPolicy: lazy diff --git a/bundles/org.eclipse.equinox.frameworkadmin/pom.xml b/bundles/org.eclipse.equinox.frameworkadmin/pom.xml index 36462f596..e5e6320b1 100644 --- a/bundles/org.eclipse.equinox.frameworkadmin/pom.xml +++ b/bundles/org.eclipse.equinox.frameworkadmin/pom.xml @@ -9,6 +9,6 @@ </parent> <groupId>org.eclipse.equinox</groupId> <artifactId>org.eclipse.equinox.frameworkadmin</artifactId> - <version>2.0.300-SNAPSHOT</version> + <version>2.1.0-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> </project> diff --git a/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/frameworkadmin/BundleInfo.java b/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/frameworkadmin/BundleInfo.java index 0b439d83f..98a4cf0c1 100644 --- a/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/frameworkadmin/BundleInfo.java +++ b/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/frameworkadmin/BundleInfo.java @@ -248,9 +248,6 @@ public class BundleInfo { this.fragmentHost = fragmentHost; } - /* (non-Javadoc) - * @see java.lang.Object#toString() - */ @Override public String toString() { StringBuffer buffer = new StringBuffer(); diff --git a/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/frameworkadmin/utils/SimpleBundlesState.java b/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/frameworkadmin/utils/SimpleBundlesState.java index 7855ca3de..20ab43bc2 100644 --- a/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/frameworkadmin/utils/SimpleBundlesState.java +++ b/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/frameworkadmin/utils/SimpleBundlesState.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2010 IBM Corporation and others. + * Copyright (c) 2007, 2017 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -58,7 +58,7 @@ public class SimpleBundlesState implements BundlesState { private final String systemBundleName; private final String systemBundleVendor; - List<BundleInfo> bundleInfosList = new LinkedList<BundleInfo>(); + List<BundleInfo> bundleInfosList = new LinkedList<>(); FrameworkAdmin fwAdmin = null; @@ -108,6 +108,7 @@ public class SimpleBundlesState implements BundlesState { initialize(); } + @Override public BundleInfo[] getExpectedState() throws FrameworkAdminRuntimeException { if (!fwAdmin.isActive()) throw new FrameworkAdminRuntimeException("FrameworkAdmin creates this object is no more available.", FrameworkAdminRuntimeException.FRAMEWORKADMIN_UNAVAILABLE); //$NON-NLS-1$ @@ -119,6 +120,7 @@ public class SimpleBundlesState implements BundlesState { * * @see org.eclipse.equinox.internal.provisional.frameworkadmin.BundlesState#getPrerequisteBundles(org.eclipse.equinox.internal.provisional.frameworkadmin.BundleInfo) */ + @Override public BundleInfo[] getPrerequisteBundles(BundleInfo bInfo) { URI location = bInfo.getLocation(); final String requiredBundles = Utils.getManifestMainAttributes(location, Constants.REQUIRE_BUNDLE); @@ -126,11 +128,11 @@ public class SimpleBundlesState implements BundlesState { return new BundleInfo[] {this.getSystemBundle()}; String[] clauses = Utils.getClauses(requiredBundles); - List<String> list = new LinkedList<String>(); + List<String> list = new LinkedList<>(); for (int i = 0; i < clauses.length; i++) list.add(Utils.getPathFromClause(clauses[i])); - List<BundleInfo> ret = new LinkedList<BundleInfo>(); + List<BundleInfo> ret = new LinkedList<>(); ret.add(this.getSystemBundle()); for (Iterator<BundleInfo> ite = this.bundleInfosList.iterator(); ite.hasNext();) { BundleInfo currentBInfo = ite.next(); @@ -150,6 +152,7 @@ public class SimpleBundlesState implements BundlesState { return Utils.getBundleInfosFromList(ret); } + @Override public BundleInfo getSystemBundle() { if (this.systemBundleSymbolicName == null) { for (Iterator<BundleInfo> ite = this.bundleInfosList.iterator(); ite.hasNext();) { @@ -177,6 +180,7 @@ public class SimpleBundlesState implements BundlesState { return null; } + @Override @SuppressWarnings("unchecked") public BundleInfo[] getSystemFragmentedBundles() { BundleInfo systemBInfo = this.getSystemBundle(); @@ -212,6 +216,7 @@ public class SimpleBundlesState implements BundlesState { return Utils.getBundleInfosFromList(list); } + @Override public String[] getUnsatisfiedConstraints(BundleInfo bInfo) throws FrameworkAdminRuntimeException { throw new FrameworkAdminRuntimeException("getUnsatisfiedConstraints(BundleInfo bInfo) is not supported in this implementation", FrameworkAdminRuntimeException.UNSUPPORTED_OPERATION); //$NON-NLS-1$ } @@ -237,6 +242,7 @@ public class SimpleBundlesState implements BundlesState { } } + @Override public void installBundle(BundleInfo bInfo) throws FrameworkAdminRuntimeException { URI newLocation = bInfo.getLocation(); @@ -297,22 +303,27 @@ public class SimpleBundlesState implements BundlesState { // return sb.toString(); // } + @Override public boolean isFullySupported() { return false; } + @Override public boolean isResolved() throws FrameworkAdminRuntimeException { throw new FrameworkAdminRuntimeException("isResolved() is not supported in this implementation", FrameworkAdminRuntimeException.UNSUPPORTED_OPERATION); //$NON-NLS-1$ } + @Override public boolean isResolved(BundleInfo bInfo) throws FrameworkAdminRuntimeException { throw new FrameworkAdminRuntimeException("isResolved(BundleInfo bInfo) is not supported in this implementation", FrameworkAdminRuntimeException.UNSUPPORTED_OPERATION); //$NON-NLS-1$ } + @Override public void resolve(boolean increment) throws FrameworkAdminRuntimeException { throw new FrameworkAdminRuntimeException("resolve(boolean increment) is not supported in this implementation", FrameworkAdminRuntimeException.UNSUPPORTED_OPERATION); //$NON-NLS-1$ } + @Override public void uninstallBundle(BundleInfo bInfo) throws FrameworkAdminRuntimeException { URI targetLocation = bInfo.getLocation(); int index = -1; diff --git a/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/frameworkadmin/utils/Utils.java b/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/frameworkadmin/utils/Utils.java index 7af5663c7..74b2f3803 100644 --- a/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/frameworkadmin/utils/Utils.java +++ b/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/frameworkadmin/utils/Utils.java @@ -157,7 +157,7 @@ public class Utils { public static String[] getClauses(String header) { StringTokenizer token = new StringTokenizer(header, ","); //$NON-NLS-1$ - List<String> list = new LinkedList<String>(); + List<String> list = new LinkedList<>(); while (token.hasMoreTokens()) { list.add(token.nextToken()); } @@ -276,7 +276,7 @@ public class Utils { public static String[] getTokens(String msg, String delim, boolean returnDelims) { StringTokenizer targetST = new StringTokenizer(msg, delim, returnDelims); String[] tokens = new String[targetST.countTokens()]; - ArrayList<String> list = new ArrayList<String>(targetST.countTokens()); + ArrayList<String> list = new ArrayList<>(targetST.countTokens()); while (targetST.hasMoreTokens()) { list.add(targetST.nextToken()); } @@ -304,7 +304,7 @@ public class Utils { private static Dictionary<String, String> manifestToProperties(Map<String, String> d) { Iterator<String> iter = d.keySet().iterator(); - Dictionary<String, String> result = new Hashtable<String, String>(); + Dictionary<String, String> result = new Hashtable<>(); while (iter.hasNext()) { String key = iter.next(); result.put(key, d.get(key)); @@ -357,21 +357,21 @@ public class Utils { * @return sorted array of BundleInfos */ public static BundleInfo[] sortBundleInfos(BundleInfo[] bInfos, int initialBSL) { - SortedMap<Integer, List<BundleInfo>> bslToList = new TreeMap<Integer, List<BundleInfo>>(); + SortedMap<Integer, List<BundleInfo>> bslToList = new TreeMap<>(); for (int i = 0; i < bInfos.length; i++) { Integer sL = Integer.valueOf(bInfos[i].getStartLevel()); if (sL.intValue() == BundleInfo.NO_LEVEL) sL = Integer.valueOf(initialBSL); List<BundleInfo> list = bslToList.get(sL); if (list == null) { - list = new LinkedList<BundleInfo>(); + list = new LinkedList<>(); bslToList.put(sL, list); } list.add(bInfos[i]); } // bslToList is sorted by the key (StartLevel). - List<BundleInfo> bundleInfoList = new LinkedList<BundleInfo>(); + List<BundleInfo> bundleInfoList = new LinkedList<>(); for (Iterator<Integer> ite = bslToList.keySet().iterator(); ite.hasNext();) { Integer sL = ite.next(); List<BundleInfo> list = bslToList.get(sL); diff --git a/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/provisional/frameworkadmin/ConfigData.java b/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/provisional/frameworkadmin/ConfigData.java index fd153655b..903c72239 100644 --- a/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/provisional/frameworkadmin/ConfigData.java +++ b/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/provisional/frameworkadmin/ConfigData.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2010 IBM Corporation and others. + * Copyright (c) 2007, 2017 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -30,7 +30,7 @@ public class ConfigData { private int beginningFwStartLevel = BundleInfo.NO_LEVEL; private int initialBundleStartLevel = BundleInfo.NO_LEVEL; // List of BundleInfo - private LinkedHashSet<BundleInfo> bundlesList = new LinkedHashSet<BundleInfo>(); + private LinkedHashSet<BundleInfo> bundlesList = new LinkedHashSet<>(); private Properties properties = new Properties(); diff --git a/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/provisional/frameworkadmin/LauncherData.java b/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/provisional/frameworkadmin/LauncherData.java index fee1d379e..8fc0518b3 100644 --- a/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/provisional/frameworkadmin/LauncherData.java +++ b/bundles/org.eclipse.equinox.frameworkadmin/src/org/eclipse/equinox/internal/provisional/frameworkadmin/LauncherData.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2007, 2010 IBM Corporation and others. + * Copyright (c) 2007, 2017 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -25,8 +25,8 @@ import java.util.*; public class LauncherData { private File fwPersistentDataLocation = null; private File jvm = null; - private List<String> jvmArgs = new LinkedList<String>(); - private List<String> programArgs = new LinkedList<String>(); + private List<String> jvmArgs = new LinkedList<>(); + private List<String> programArgs = new LinkedList<>(); private boolean clean; private File fwConfigLocation; |