fixed more warning reported by findbugs

findbugs and checkstyle analysis skipped when -DskipTests is on command line