ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xav...@apache.org
Subject svn commit: r632744 - /ant/ivy/core/trunk/src/java/org/apache/ivy/core/IvyPatternHelper.java
Date Sun, 02 Mar 2008 12:02:48 GMT
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());



Mime
View raw message