[izpack-changes] r2032 - izpack-src/trunk/src/lib/com/izforge/izpack/util
noreply at berlios.de
noreply at berlios.de
Tue Feb 5 00:49:58 CET 2008
Author: pskowronek
Date: 2008-02-05 00:49:56 +0100 (Tue, 05 Feb 2008)
New Revision: 2032
Modified:
izpack-src/trunk/src/lib/com/izforge/izpack/util/VariableSubstitutor.java
Log:
VariableSubstitutor: parameters can also contain dashes
Modified: izpack-src/trunk/src/lib/com/izforge/izpack/util/VariableSubstitutor.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/util/VariableSubstitutor.java 2008-02-01 16:42:09 UTC (rev 2031)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/util/VariableSubstitutor.java 2008-02-04 23:49:56 UTC (rev 2032)
@@ -341,7 +341,7 @@
StringBuffer nameBuffer = new StringBuffer();
while (c != -1 && (braces && c != '}') || (c >= 'a' && c <= 'z')
|| (c >= 'A' && c <= 'Z') || (braces && (c == '[') || (c == ']'))
- || (((c >= '0' && c <= '9') || c == '_' || c == '.') && nameBuffer.length() > 0))
+ || (((c >= '0' && c <= '9') || c == '_' || c == '.' || c == '-') && nameBuffer.length() > 0))
{
nameBuffer.append((char) c);
c = reader.read();
More information about the izpack-changes
mailing list