Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Merks2018-03-20 08:20:18 -0400
committerEd Merks2018-03-20 08:20:18 -0400
commit0cdf5cb439a0e3fa3710b34574554c1ce7f085c5 (patch)
tree43a6861e55fc5c95605888039c202c6ab7bca974
parentd4c7c69bbaad9b0eae58c938cc001c46d141a91f (diff)
downloadrt.equinox.p2-0cdf5cb439a0e3fa3710b34574554c1ce7f085c5.tar.gz
rt.equinox.p2-0cdf5cb439a0e3fa3710b34574554c1ce7f085c5.tar.xz
rt.equinox.p2-0cdf5cb439a0e3fa3710b34574554c1ce7f085c5.zip
Bug 532652 - MetadataFactory.createRequirement ignores description
Change-Id: Ie6f6c2ca6abad2d60c1cdbc18c085d60bf7b704d Signed-off-by: Ed Merks <ed.merks@gmail.com>
-rw-r--r--bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/MetadataFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/MetadataFactory.java b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/MetadataFactory.java
index e956ebc31..a1a4963b9 100644
--- a/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/MetadataFactory.java
+++ b/bundles/org.eclipse.equinox.p2.metadata/src/org/eclipse/equinox/p2/metadata/MetadataFactory.java
@@ -572,7 +572,7 @@ public final class MetadataFactory {
* @since 2.4
*/
public static IRequirement createRequirement(String namespace, IFilterExpression propsFilter, IMatchExpression<IInstallableUnit> envFilter, int minCard, int maxCard, boolean greedy, String description) {
- return new RequiredPropertiesMatch(namespace, propsFilter, envFilter, minCard, maxCard, greedy, null);
+ return new RequiredPropertiesMatch(namespace, propsFilter, envFilter, minCard, maxCard, greedy, description);
}
/**

Back to the top