aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2010-10-23 22:25:29 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2010-10-23 22:25:29 +0200
commitffc010fda4564cbb55db2477b88a9c8bbcf9c415 (patch)
tree1134de2d7b8045f9151c50dcccc08d57c69a56ee /org.eclipse.jgit/src
parent241ab2273557185c2b76cedca5a133055ab6e39a (diff)
downloadjgit-ffc010fda4564cbb55db2477b88a9c8bbcf9c415.tar.gz
jgit-ffc010fda4564cbb55db2477b88a9c8bbcf9c415.zip
[findbugs] Static comparator made final
Fixing FindBugs warning MS_SHOULD_BE_FINAL. Change-Id: Ic69e6f6425e0a8950ce809eb3894f48a33e860aa Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit/src')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/storage/file/PackFile.java2
1 files changed, 1 insertions, 1 deletions
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 3ae0b8f390..2bf0b96f6b 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 @@ 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;
}