ndimiduk commented on issue #1364: HBASE-24065 Enable SpotBugs in PreCommit URL: https://github.com/apache/hbase/pull/1364#issuecomment-604737816 Oh, unless spotbugs only runs when a java file is modified... ```sh function spotbugs_filefilter { declare filename=$1 if [[ ${BUILDTOOL} == maven || ${BUILDTOOL} == ant ]]; then if [[ ${filename} =~ \.java$ || ${filename} =~ (^|/)${SPOTBUGS_MODE}-exclude.xml$ ]]; then add_test "${SPOTBUGS_MODE}" fi fi } ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
