Преглед на файлове

[findbugs] Static comparator made final

Fixing FindBugs warning MS_SHOULD_BE_FINAL.

Change-Id: Ic69e6f6425e0a8950ce809eb3894f48a33e860aa
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v0.10.1
Matthias Sohn преди 13 години
родител
ревизия
ffc010fda4
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java

+ 1
- 1
org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java Целия файл

@@ -87,7 +87,7 @@ import org.eclipse.jgit.util.RawParseUtils;
*/
public class PackFile implements Iterable<PackIndex.MutableEntry> {
/** Sorts PackFiles to be most recently created to least recently created. */
public static Comparator<PackFile> SORT = new Comparator<PackFile>() {
public static final Comparator<PackFile> SORT = new Comparator<PackFile>() {
public int compare(final PackFile a, final PackFile b) {
return b.packLastModified - a.packLastModified;
}

Loading…
Отказ
Запис