Skip to content

Commit 8788e98

Browse files
committed
Reapply final modifier for static constants.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@140465 13f79535-47bb-0310-9956-ffa450edef68
1 parent 70f378c commit 8788e98

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
* </pre>
7171
*
7272
* @since Commons IO 1.0
73-
* @version $Revision: 1.5 $ $Date: 2003/12/30 06:55:58 $
73+
* @version $Revision: 1.6 $ $Date: 2003/12/30 15:17:59 $
7474
*
7575
* @author Henri Yandell
7676
* @author Stephen Colebourne
@@ -79,7 +79,7 @@
7979
public class DirectoryFileFilter extends AbstractFileFilter {
8080

8181
/** Singleton instance of directory filter */
82-
public static IOFileFilter INSTANCE = new DirectoryFileFilter();
82+
public static final IOFileFilter INSTANCE = new DirectoryFileFilter();
8383

8484
/**
8585
* Restrictive consructor.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@
5959
* A file filter that always returns false.
6060
*
6161
* @since Commons IO 1.0
62-
* @version $Revision: 1.5 $ $Date: 2003/12/30 06:55:58 $
62+
* @version $Revision: 1.6 $ $Date: 2003/12/30 15:17:59 $
6363
*
6464
* @author Henri Yandell
6565
* @author Stephen Colebourne
6666
*/
6767
public class FalseFileFilter implements IOFileFilter {
6868

6969
/** Singleton instance of false filter */
70-
public static IOFileFilter INSTANCE = new FalseFileFilter();
70+
public static final IOFileFilter INSTANCE = new FalseFileFilter();
7171

7272
/**
7373
* Restrictive consructor.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@
5959
* A file filter that always returns true.
6060
*
6161
* @since Commons IO 1.0
62-
* @version $Revision: 1.5 $ $Date: 2003/12/30 06:55:58 $
62+
* @version $Revision: 1.6 $ $Date: 2003/12/30 15:17:59 $
6363
*
6464
* @author Henri Yandell
6565
* @author Stephen Colebourne
6666
*/
6767
public class TrueFileFilter implements IOFileFilter {
6868

6969
/** Singleton instance of true filter */
70-
public static IOFileFilter INSTANCE = new TrueFileFilter();
70+
public static final IOFileFilter INSTANCE = new TrueFileFilter();
7171

7272
/**
7373
* Restrictive consructor.

src/java/org/apache/commons/io/output/LockableFileWriter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,11 @@
6969
* @author <a href="mailto:ms@collab.net">Michael Salmon</a>
7070
* @author <a href="mailto:jon@collab.net">Jon S. Stevens</a>
7171
* @author <a href="mailto:dlr@finemaltcoding.com">Daniel Rall</a>
72-
* @version $Id: LockableFileWriter.java,v 1.5 2003/12/30 06:55:59 bayard Exp $
72+
* @version $Id: LockableFileWriter.java,v 1.6 2003/12/30 15:19:59 jeremias Exp $
7373
*/
7474
public class LockableFileWriter extends Writer {
7575

76-
private static String LCK = ".lck";
76+
private static final String LCK = ".lck";
7777

7878
private File lockFile = null;
7979

0 commit comments

Comments
 (0)