diff options
author | Pascal Rapicault | 2010-04-10 00:45:05 +0000 |
---|---|---|
committer | Pascal Rapicault | 2010-04-10 00:45:05 +0000 |
commit | 2a28905e37428682471021470b8c46f7ff17ddd0 (patch) | |
tree | 74d4138c20872647b55de9e4392546ec62b699a0 /bundles/org.eclipse.equinox.p2.metadata/src | |
parent | ac6d65f471c4aaac2586f60b471c7dd26db9903c (diff) | |
download | rt.equinox.p2-2a28905e37428682471021470b8c46f7ff17ddd0.tar.gz rt.equinox.p2-2a28905e37428682471021470b8c46f7ff17ddd0.tar.xz rt.equinox.p2-2a28905e37428682471021470b8c46f7ff17ddd0.zip |
Bug 308704 - MetadataFactory.createRequirement() multiple parameter is broken
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.metadata/src')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/RequiredCapability.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/RequiredCapability.java b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/RequiredCapability.java index b6a62c5c7..75aa4eb0f 100644 --- a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/RequiredCapability.java +++ b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/internal/p2/metadata/RequiredCapability.java @@ -96,7 +96,7 @@ public class RequiredCapability implements IRequiredCapability, IMemberProvider } public RequiredCapability(String namespace, String name, VersionRange range, String filter, boolean optional, boolean multiple, boolean greedy) { - this(namespace, name, range, filter == null ? (IMatchExpression<IInstallableUnit>) null : InstallableUnit.parseFilter(filter), optional ? 0 : 1, multiple ? 1 : Integer.MAX_VALUE, greedy); + this(namespace, name, range, filter == null ? (IMatchExpression<IInstallableUnit>) null : InstallableUnit.parseFilter(filter), optional ? 0 : 1, multiple ? Integer.MAX_VALUE : 1, greedy); } public RequiredCapability(String namespace, String name, VersionRange range, IMatchExpression<IInstallableUnit> filter, int min, int max, boolean greedy) { |