diff options
author | Thomas Hallgren | 2010-02-27 23:19:01 +0000 |
---|---|---|
committer | Thomas Hallgren | 2010-02-27 23:19:01 +0000 |
commit | a24eaeb906e660321c402c344d8eac0320e855d7 (patch) | |
tree | 4d7c23d8c816f71804dcbe452c0c9017b522e854 /bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/IInstallableUnit.java | |
parent | 5d06b8f95cf5d1b45fa2804098b21049ea7d5717 (diff) | |
download | rt.equinox.p2-a24eaeb906e660321c402c344d8eac0320e855d7.tar.gz rt.equinox.p2-a24eaeb906e660321c402c344d8eac0320e855d7.tar.xz rt.equinox.p2-a24eaeb906e660321c402c344d8eac0320e855d7.zip |
302193 : Return type inconsistency on IInstallableUnit's getters
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/IInstallableUnit.java')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/IInstallableUnit.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/IInstallableUnit.java b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/IInstallableUnit.java index a9837a1b3..b4e1b96f5 100644 --- a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/IInstallableUnit.java +++ b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/IInstallableUnit.java @@ -12,8 +12,7 @@ package org.eclipse.equinox.p2.metadata; import java.util.Collection; - -import java.util.*; +import java.util.Map; import org.osgi.framework.Filter; /** @@ -258,7 +257,7 @@ public interface IInstallableUnit extends IVersionedId, Comparable<IInstallableU * @param locale The locale to translate the license for, or null to use the current locale. * @return the translated licenses that apply to this installable unit */ - public ILicense[] getLicenses(String locale); + public Collection<ILicense> getLicenses(String locale); /** * Returns the untranslated copyright that applies to this installable unit. |