FIX: bug with undefined token which should be kept as is

git-svn-id: https://svn.apache.org/repos/asf/incubator/ivy/trunk@484070 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Xavier Hanin 2005-11-02 14:10:55 +00:00
parent 0f08bd6302
commit 3e1fe6ac33
1 changed files with 3 additions and 0 deletions

View File

@ -178,6 +178,9 @@ public class IvyPatternHelper {
tokenHadValue = (value != null) && (value.length() > 0);
optionalPart.append(value);
} else {
if (value == null) { // the token wasn't set, it's kept as is
value = "["+token+"]";
}
buffer.append(value);
}