File tree Expand file tree Collapse file tree
zookeeper-server/src/main/java/org/apache/zookeeper/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 <!-- this problem is to be addressed in ZOOKEEPER-3227 -->
88 <Bug pattern =" DM_DEFAULT_ENCODING" />
99
10- <!-- not really a problem -->
11- <Bug pattern =" DM_EXIT" />
12-
1310</FindBugsFilter >
1411
Original file line number Diff line number Diff line change 1717 */
1818package org .apache .zookeeper .util ;
1919
20+ import edu .umd .cs .findbugs .annotations .SuppressFBWarnings ;
2021import java .util .Objects ;
2122import java .util .function .Consumer ;
2223import org .apache .zookeeper .ZooKeeperMain ;
@@ -37,6 +38,7 @@ private ServiceUtils() {
3738 /**
3839 * Default strategy for shutting down the JVM.
3940 */
41+ @ SuppressFBWarnings ("DM_EXIT" )
4042 public static final Consumer <Integer > SYSTEM_EXIT = (code ) -> {
4143 LOG .error ("Exiting JVM with code {}" , code );
4244 System .exit (code );
You can’t perform that action at this time.
0 commit comments