diff options
author | Enrico Olivelli <enrico.olivelli@diennea.com> | 2019-11-28 12:24:36 +0100 |
---|---|---|
committer | Andor Molnar <andor@apache.org> | 2019-11-28 12:24:36 +0100 |
commit | 8e8905069f4bff670c0492fe9e28ced0f86bca00 (patch) | |
tree | 628941eb91b0a877320de27390deb6101b95d7bf /excludeFindBugsFilter.xml | |
parent | 4132b64b36ea43909888fdaf34268a243f2c7420 (diff) | |
download | zookeeper-8e8905069f4bff670c0492fe9e28ced0f86bca00.tar.gz |
ZOOKEEPER-3620: Allow to override calls to System.exit in server side code
- Introduce a way to override calls to System.exit
- enable DM_EXIT spotbugs rule
see https://issues.apache.org/jira/browse/ZOOKEEPER-3620 for more context.
Author: Enrico Olivelli <enrico.olivelli@diennea.com>
Author: Enrico Olivelli <eolivelli@apache.org>
Reviewers: andor@apache.org
Closes #1147 from eolivelli/fix/ZOOKEEPER-3620-no-systemexit and squashes the following commits:
a234f85f1 [Enrico Olivelli] Fix checkstyle
4c4fec49e [Enrico Olivelli] Fix spotbugs warning
ae339b724 [Enrico Olivelli] Revert changes to VerGen.java
0e5ee07c5 [Enrico Olivelli] Enable DM_EXIT spotbugs rule for the full code base
b05a4bf38 [Enrico Olivelli] ZOOKEEPER-3620 Allow to override calls to System.exit in server side code: - Use a common utility to call System.exit - Override calls to System.exit to a NO-OP function in tests
Diffstat (limited to 'excludeFindBugsFilter.xml')
-rw-r--r-- | excludeFindBugsFilter.xml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/excludeFindBugsFilter.xml b/excludeFindBugsFilter.xml index c836911db..a29659448 100644 --- a/excludeFindBugsFilter.xml +++ b/excludeFindBugsFilter.xml @@ -7,8 +7,5 @@ <!-- this problem is to be addressed in ZOOKEEPER-3227 --> <Bug pattern="DM_DEFAULT_ENCODING"/> - <!-- not really a problem --> - <Bug pattern="DM_EXIT"/> - </FindBugsFilter> |