Skip to content

Commit 049d680

Browse files
committed
Missing annotations; extraneous semi-colon
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1003685 13f79535-47bb-0310-9956-ffa450edef68
1 parent 420395a commit 049d680

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/java/org/apache/commons/io/filefilter/FileFilterUtils.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,6 +381,7 @@ public static IOFileFilter fileFileFilter() {
381381
* @return a filter that ANDs the two specified filters
382382
* @deprecated use {@link #and(IOFileFilter...)}
383383
*/
384+
@Deprecated
384385
public static IOFileFilter andFileFilter(IOFileFilter filter1, IOFileFilter filter2) {
385386
return new AndFileFilter(filter1, filter2);
386387
}
@@ -393,6 +394,7 @@ public static IOFileFilter andFileFilter(IOFileFilter filter1, IOFileFilter filt
393394
* @return a filter that ORs the two specified filters
394395
* @deprecated use {@link #or(IOFileFilter...)}
395396
*/
397+
@Deprecated
396398
public static IOFileFilter orFileFilter(IOFileFilter filter1, IOFileFilter filter2) {
397399
return new OrFileFilter(filter1, filter2);
398400
}
@@ -693,7 +695,7 @@ public static IOFileFilter magicNumberFileFilter(byte[] magicNumber, long offset
693695
//-----------------------------------------------------------------------
694696
/* Constructed on demand and then cached */
695697
private static final IOFileFilter cvsFilter = notFileFilter(
696-
and(directoryFileFilter(), nameFileFilter("CVS")));;
698+
and(directoryFileFilter(), nameFileFilter("CVS")));
697699

698700
/* Constructed on demand and then cached */
699701
private static final IOFileFilter svnFilter = notFileFilter(

0 commit comments

Comments
 (0)