Repository: yetus Updated Branches: refs/heads/master 3acbea7cd -> 1d7ec1925
YETUS-472. Exclude src/test/java from findbugs source folders by default. Signed-off-by: Sean Busbey <[email protected]> Signed-off-by: Kengo Seki <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/yetus/repo Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/1d7ec192 Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/1d7ec192 Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/1d7ec192 Branch: refs/heads/master Commit: 1d7ec19254fcd2f8ba9455b382de4fae3780e7ad Parents: 3acbea7 Author: Akira Ajisaka <[email protected]> Authored: Fri Dec 9 10:45:24 2016 +0900 Committer: Kengo Seki <[email protected]> Committed: Mon Dec 19 02:38:09 2016 +0900 ---------------------------------------------------------------------- precommit/test-patch.d/findbugs.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/1d7ec192/precommit/test-patch.d/findbugs.sh ---------------------------------------------------------------------- diff --git a/precommit/test-patch.d/findbugs.sh b/precommit/test-patch.d/findbugs.sh index 24ccc95..aaefd4f 100755 --- a/precommit/test-patch.d/findbugs.sh +++ b/precommit/test-patch.d/findbugs.sh @@ -106,8 +106,7 @@ function findbugs_maven_skipper until [[ ${i} -eq ${#MODULE[@]} ]]; do # If there are no java source code in the module, # skip parsing output xml file. - if [[ ! -d "${MODULE[${i}]}/src/main/java" - && ! -d "${MODULE[${i}]}/src/test/java" ]]; then + if [[ ! -d "${MODULE[${i}]}/src/main/java" ]]; then skiplist=("${skiplist[@]}" "${MODULE[$i]}") fi ((i=i+1))
