From ffc010fda4564cbb55db2477b88a9c8bbcf9c415 Mon Sep 17 00:00:00 2001 From: Matthias Sohn Date: Sat, 23 Oct 2010 22:25:29 +0200 Subject: [PATCH] [findbugs] Static comparator made final Fixing FindBugs warning MS_SHOULD_BE_FINAL. Change-Id: Ic69e6f6425e0a8950ce809eb3894f48a33e860aa Signed-off-by: Matthias Sohn --- .../src/org/eclipse/jgit/storage/file/PackFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java index 3ae0b8f39..2bf0b96f6 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java @@ -87,7 +87,7 @@ */ public class PackFile implements Iterable { /** Sorts PackFiles to be most recently created to least recently created. */ - public static Comparator SORT = new Comparator() { + public static final Comparator SORT = new Comparator() { public int compare(final PackFile a, final PackFile b) { return b.packLastModified - a.packLastModified; }