2828 * by their last modified date/time.
2929 * <p>
3030 * Example of sorting a list of files using the
31- * {@link #LASTMODIFIED_COMPARATOR } singleton instance:
31+ * {@link #INSTANCE } singleton instance:
3232 * <pre>
3333 * List<File> list = ...
3434 * ((AbstractFileComparator) LastModifiedFileComparator.LASTMODIFIED_COMPARATOR).sort(list);
3535 * </pre>
3636 * <p>
3737 * Example of doing a <i>reverse</i> sort of an array of files using the
38- * {@link #LASTMODIFIED_REVERSE } singleton instance:
38+ * {@link #INSTANCE_REVERSE } singleton instance:
3939 * <pre>
4040 * File[] array = ...
4141 * ((AbstractFileComparator) LastModifiedFileComparator.LASTMODIFIED_REVERSE).sort(array);
@@ -48,22 +48,20 @@ public class LastModifiedFileComparator extends AbstractFileComparator implement
4848
4949 private static final long serialVersionUID = 7372168004395734046L ;
5050
51- /** Last modified comparator instance */
51+ /** Last modified comparator instance. */
5252 public static final Comparator <File > LASTMODIFIED_COMPARATOR = new LastModifiedFileComparator ();
5353
54- /** Reverse last modified comparator instance */
54+ /** Reverse last modified comparator instance. */
5555 public static final Comparator <File > LASTMODIFIED_REVERSE = new ReverseFileComparator (LASTMODIFIED_COMPARATOR );
5656
5757 /**
58- * Compare the last the last modified date/time of two files.
59- *
60- * @param file1 The first file to compare
61- * @param file2 The second file to compare
62- * @return a negative value if the first file's lastmodified date/time
63- * is less than the second, zero if the lastmodified date/time are the
64- * same and a positive value if the first files lastmodified date/time
65- * is greater than the second file.
58+ * Compares the last the last modified date/time of two files.
6659 *
60+ * @param file1 The first file to compare.
61+ * @param file2 The second file to compare.
62+ * @return a negative value if the first file's last modified date/time is less than the second, zero if the last
63+ * modified date/time are the same and a positive value if the first files last modified date/time is
64+ * greater than the second file.
6765 */
6866 @ Override
6967 public int compare (final File file1 , final File file2 ) {
0 commit comments