Repository: yetus Updated Branches: refs/heads/YETUS-468 74d9f02cb -> c52226201
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/c5222620 Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/c5222620 Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/c5222620 Branch: refs/heads/YETUS-468 Commit: c52226201a1ee88ea463d7ed15f0ec80499109ea Parents: 74d9f02 Author: Akira Ajisaka <[email protected]> Authored: Fri Dec 9 10:45:24 2016 +0900 Committer: Ajay Yadava <[email protected]> Committed: Mon Dec 19 12:59:36 2016 -0500 ---------------------------------------------------------------------- precommit/test-patch.d/findbugs.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/c5222620/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))
