Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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.java5
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.

Back to the top