Skip to content

Commit ee4b4d7

Browse files
committed
ArchiveFormat: Suppress ImmutableEnumChecker warning
ArchiveCommand.Format is effectively immutable, and it's a JGit class that we don't control here, so just suppress the warning. Change-Id: I4b92ff9e3bde9fab9bf5a1b2ce46962db227b2d8
1 parent 9b844ae commit ee4b4d7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

java/com/google/gitiles/ArchiveFormat.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ public static void unregisterAll() {
5353
}
5454
}
5555

56+
@SuppressWarnings("ImmutableEnumChecker") // ArchiveCommand.Format is effectively immutable.
5657
private final ArchiveCommand.Format<?> format;
5758
private final String mimeType;
5859

0 commit comments

Comments
 (0)