]> source.dussan.org Git - jgit.git/commit
[errorprone] Suppress ImmutableEnumChecker for ShutdownHook 43/204343/1
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 14 Sep 2023 22:50:19 +0000 (00:50 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 14 Sep 2023 22:50:19 +0000 (00:50 +0200)
commit0acc5aeafa6ef85287502f3ba63f39eee5e44196
tree6486720d02ce5438fd9d998b599d41508f7332a3
parent8d62e5d04d354683dc34c9a8e65d08bc09c414fd
[errorprone] Suppress ImmutableEnumChecker for ShutdownHook

Here we use enum to implement a singleton. Hence suppress the errorprone
error ImmutableEnumChecker.

Change-Id: I21f6ed83c08936dfc9aa591af809e69f3053a050
org.eclipse.jgit/src/org/eclipse/jgit/internal/util/ShutdownHook.java