commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1003685 - /commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/FileFilterUtils.java
Date Fri, 01 Oct 2010 22:27:18 GMT
Author: sebb
Date: Fri Oct  1 22:27:17 2010
New Revision: 1003685

URL: http://svn.apache.org/viewvc?rev=1003685&view=rev
Log:
Missing annotations; extraneous semi-colon

Modified:
    commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/FileFilterUtils.java

Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/FileFilterUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/FileFilterUtils.java?rev=1003685&r1=1003684&r2=1003685&view=diff
==============================================================================
--- commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/FileFilterUtils.java
(original)
+++ commons/proper/io/trunk/src/java/org/apache/commons/io/filefilter/FileFilterUtils.java
Fri Oct  1 22:27:17 2010
@@ -381,6 +381,7 @@ public class FileFilterUtils {
      * @return a filter that ANDs the two specified filters
      * @deprecated use {@link #and(IOFileFilter...)}
      */
+    @Deprecated
     public static IOFileFilter andFileFilter(IOFileFilter filter1, IOFileFilter filter2)
{
         return new AndFileFilter(filter1, filter2);
     }
@@ -393,6 +394,7 @@ public class FileFilterUtils {
      * @return a filter that ORs the two specified filters
      * @deprecated use {@link #or(IOFileFilter...)}
      */
+    @Deprecated
     public static IOFileFilter orFileFilter(IOFileFilter filter1, IOFileFilter filter2) {
         return new OrFileFilter(filter1, filter2);
     }
@@ -693,7 +695,7 @@ public class FileFilterUtils {
     //-----------------------------------------------------------------------
     /* Constructed on demand and then cached */
     private static final IOFileFilter cvsFilter = notFileFilter(
-            and(directoryFileFilter(), nameFileFilter("CVS")));;
+            and(directoryFileFilter(), nameFileFilter("CVS")));
 
     /* Constructed on demand and then cached */
     private static final IOFileFilter svnFilter = notFileFilter(



Mime
View raw message