mirror of https://github.com/apache/ant-ivy
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:
parent
0f08bd6302
commit
3e1fe6ac33
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue