This is an automated email from the ASF dual-hosted git repository.

aw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yetus.git


The following commit(s) were added to refs/heads/master by this push:
     new 0478292  YETUS-881. findbugs bw-compat support needs 
delete_parameter() calls (#54)
0478292 is described below

commit 047829203e877810cf201b98458589e168b9511a
Author: Allen Wittenauer <a...@apache.org>
AuthorDate: Mon May 13 21:51:55 2019 -0700

    YETUS-881. findbugs bw-compat support needs delete_parameter() calls (#54)
---
 precommit/src/main/shell/test-patch.d/spotbugs.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/precommit/src/main/shell/test-patch.d/spotbugs.sh 
b/precommit/src/main/shell/test-patch.d/spotbugs.sh
index 45a9ac9..45fed81 100755
--- a/precommit/src/main/shell/test-patch.d/spotbugs.sh
+++ b/precommit/src/main/shell/test-patch.d/spotbugs.sh
@@ -557,9 +557,11 @@ function findbugs_parse_args
   for i in "$@"; do
     case ${i} in
     --findbugs-home=*)
+      delete_parameter "${i}"
       SPOTBUGS_HOME=${i#*=}
     ;;
     --findbugs-strict-precheck)
+      delete_parameter "${i}"
       SPOTBUGS_WARNINGS_FAIL_PRECHECK=true
     ;;
     esac

Reply via email to