Author: xavier
Date: Sun Mar  2 04:02:48 2008
New Revision: 632744

URL: http://svn.apache.org/viewvc?rev=632744&view=rev
Log:
disable parameter number check for some substitute methods for which it doesn't 
really make sense to fix the checkstyle error

Modified:
    ant/ivy/core/trunk/src/java/org/apache/ivy/core/IvyPatternHelper.java

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/IvyPatternHelper.java
URL: 
http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/IvyPatternHelper.java?rev=632744&r1=632743&r2=632744&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/IvyPatternHelper.java 
(original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/IvyPatternHelper.java Sun 
Mar  2 04:02:48 2008
@@ -115,6 +115,7 @@
         return substitute(pattern, org, module, revision, artifact, type, ext, 
null);
     }
 
+    // CheckStyle:ParameterNumber OFF
     public static String substitute(String pattern, String org, String module, 
String revision,
             String artifact, String type, String ext, String conf) {
         return substitute(pattern, org, module, revision, artifact, type, ext, 
conf, null);
@@ -151,6 +152,7 @@
                 origin));
         return substituteTokens(pattern, tokens);
     }
+    // CheckStyle:ParameterNumber ON
 
     public static String substituteVariables(String pattern, Map variables) {
         return substituteVariables(pattern, new 
IvyVariableContainerImpl(variables), new Stack());


Reply via email to