2222/**
2323 * This filter accepts <code>File</code>s that are directories.
2424 * <p>
25- * For example, here is how to print out a list of the
26- * current directory's subdirectories:
25+ * For example, here is how to print out a list of the current directory's subdirectories:
2726 *
2827 * <pre>
2928 * File dir = new File(".");
30- * String[] files = dir.list( DirectoryFileFilter.INSTANCE );
31- * for ( int i = 0; i < files.length; i++ ) {
29+ * String[] files = dir.list(DirectoryFileFilter.INSTANCE);
30+ * for (int i = 0; i < files.length; i++) {
3231 * System.out.println(files[i]);
3332 * }
3433 * </pre>
@@ -42,28 +41,30 @@ public class DirectoryFileFilter extends AbstractFileFilter implements Serializa
4241
4342 /**
4443 * Singleton instance of directory filter.
44+ *
4545 * @since 1.3
4646 */
4747 public static final IOFileFilter DIRECTORY = new DirectoryFileFilter ();
48+
4849 /**
49- * Singleton instance of directory filter.
50- * Please use the identical DirectoryFileFilter.DIRECTORY constant.
51- * The new name is more JDK 1.5 friendly as it doesn't clash with other
52- * values when using static imports.
50+ * Singleton instance of directory filter. Please use the identical DirectoryFileFilter.DIRECTORY constant. The new
51+ * name is more JDK 1.5 friendly as it doesn't clash with other values when using static imports.
5352 */
5453 public static final IOFileFilter INSTANCE = DIRECTORY ;
54+
5555 private static final long serialVersionUID = -5148237843784525732L ;
5656
5757 /**
5858 * Restrictive constructor.
5959 */
6060 protected DirectoryFileFilter () {
61+ // empty.
6162 }
6263
6364 /**
6465 * Checks to see if the file is a directory.
6566 *
66- * @param file the File to check
67+ * @param file the File to check
6768 * @return true if the file is a directory
6869 */
6970 @ Override
0 commit comments