Browse Source

[errorprone] Declare DirCache#version final

Enums values should be immutable, see
https://errorprone.info/bugpattern/ImmutableEnumChecker.

Change-Id: Ib0a358d3a5f1560ca73ec3153ca8088fe7a35eb6
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
tags/v5.9.0.202009080501-r
Matthias Sohn 3 years ago
parent
commit
04622016ea
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCache.java

+ 1
- 1
org.eclipse.jgit/src/org/eclipse/jgit/dircache/DirCache.java View File

@@ -1033,7 +1033,7 @@ public class DirCache {
*/
DIRC_VERSION_PATHCOMPRESS(4);

private int version;
private final int version;

private DirCacheVersion(int versionCode) {
this.version = versionCode;

Loading…
Cancel
Save