onami-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1418792 - /incubator/onami/trunk/configuration/src/main/java/org/apache/onami/configuration/variables/AntStyleParser.java
Date Sun, 09 Dec 2012 00:33:28 GMT
Author: simonetripodi
Date: Sun Dec  9 00:33:27 2012
New Revision: 1418792

URL: http://svn.apache.org/viewvc?rev=1418792&view=rev
Log:
broken message format parameter

Modified:
    incubator/onami/trunk/configuration/src/main/java/org/apache/onami/configuration/variables/AntStyleParser.java

Modified: incubator/onami/trunk/configuration/src/main/java/org/apache/onami/configuration/variables/AntStyleParser.java
URL: http://svn.apache.org/viewvc/incubator/onami/trunk/configuration/src/main/java/org/apache/onami/configuration/variables/AntStyleParser.java?rev=1418792&r1=1418791&r2=1418792&view=diff
==============================================================================
--- incubator/onami/trunk/configuration/src/main/java/org/apache/onami/configuration/variables/AntStyleParser.java
(original)
+++ incubator/onami/trunk/configuration/src/main/java/org/apache/onami/configuration/variables/AntStyleParser.java
Sun Dec  9 00:33:27 2012
@@ -88,7 +88,7 @@ public class AntStyleParser
             int endVariable = pattern.indexOf( VAR_CLOSE, pos );
             if ( endVariable < 0 )
             {
-                throw new IllegalArgumentException( format( "Syntax error in property value
'%s', missing close bracket '%s' for variable beginning at col %s: ''{3}''",
+                throw new IllegalArgumentException( format( "Syntax error in property value
'%s', missing close bracket '%s' for variable beginning at col %s: '%s'",
                                                             pattern, VAR_CLOSE, pos - VAR_START_LEN,
pattern.substring( pos - VAR_START_LEN ) ) );
             }
 



Mime
View raw message