diff options
author | Daniel Le Berre | 2011-09-14 09:59:16 +0000 |
---|---|---|
committer | Daniel Le Berre | 2011-09-14 09:59:16 +0000 |
commit | 8607b2579e93a576d690e4a2195dfef12f5ca156 (patch) | |
tree | 766f5fcab23340fde403c0d6bbc984f2091fc7bd | |
parent | e6e2d302f1c15d7c82c1ec5ddff78ae9730105d5 (diff) | |
download | rt.equinox.p2.cudf-8607b2579e93a576d690e4a2195dfef12f5ca156.tar.gz rt.equinox.p2.cudf-8607b2579e93a576d690e4a2195dfef12f5ca156.tar.xz rt.equinox.p2.cudf-8607b2579e93a576d690e4a2195dfef12f5ca156.zip |
Fixed issue discovered during MISC 2011 about the sum() feature (need
to check that the property is really terminated by :, else there is an
issue if two properties start with the same name).
-rw-r--r-- | org.eclipse.equinox.p2.cudf/src/main/java/org/eclipse/equinox/p2/cudf/Parser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.equinox.p2.cudf/src/main/java/org/eclipse/equinox/p2/cudf/Parser.java b/org.eclipse.equinox.p2.cudf/src/main/java/org/eclipse/equinox/p2/cudf/Parser.java index ae51245..fecac76 100644 --- a/org.eclipse.equinox.p2.cudf/src/main/java/org/eclipse/equinox/p2/cudf/Parser.java +++ b/org.eclipse.equinox.p2.cudf/src/main/java/org/eclipse/equinox/p2/cudf/Parser.java @@ -129,7 +129,7 @@ public class Parser { handleRecommends(line); } else if (line.startsWith("keep: ")) { handleKeep(line); - } else if (sumProperty != null && line.startsWith(sumProperty)) { + } else if (sumProperty != null && line.startsWith(sumProperty + ":")) { handleSumProperty(line, sumProperty); } } |