ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r546132 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jar.java
Date Mon, 11 Jun 2007 12:57:42 GMT
Author: stevel
Date: Mon Jun 11 05:57:42 2007
New Revision: 546132

URL: http://svn.apache.org/viewvc?view=rev&rev=546132
Log:
mark some static methods as non-final, as it is implicit from being static

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jar.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jar.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jar.java?view=diff&rev=546132&r1=546131&r2=546132
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jar.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Jar.java Mon Jun 11 05:57:42 2007
@@ -889,7 +889,7 @@
      * @return the matching entry, or null if the file is not found
      * @since Ant 1.6.2
      */
-    protected static final String findJarName(String fileName,
+    protected static String findJarName(String fileName,
                                               String[] classpath) {
         if (classpath == null) {
             return (new File(fileName)).getName();
@@ -936,7 +936,7 @@
      * @since Ant 1.7
      * @throws IOException on error
      */
-    protected static final void grabFilesAndDirs(String file, List dirs,
+    protected static void grabFilesAndDirs(String file, List dirs,
                                                  List files)
         throws IOException {
         org.apache.tools.zip.ZipFile zf = null;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message