Skip to content

Commit

Permalink
Update findbugs configuration to pick up SBSC_USE_STRINGBUFFER_CONCAT…
Browse files Browse the repository at this point in the history
…ENATION
  • Loading branch information
melissalinkert committed Nov 14, 2017
1 parent 211df34 commit 7913cae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ant/java.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Type "ant -p" for a list of targets.
<then>
<findbugs home="${findbugs.home}" jvmargs="-Xmx512m"
output="xml:withMessages" outputFile="${build.dir}/findbugs.xml"
excludeFilter="${root.dir}/excludebugs.xml" reportLevel="high"
excludeFilter="${root.dir}/excludebugs.xml" reportLevel="medium"
errorProperty="findbugsErrors"
warningsProperty="findbugsWarnings">
<auxClasspath refid="runtime.classpath"/>
Expand Down
7 changes: 7 additions & 0 deletions excludebugs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@
<Bug pattern="MS_MUTABLE_ARRAY"/>
</Match>

<Match>
<Confidence value="2"/>
<Not>
<Bug pattern="SBSC_USE_STRINGBUFFER_CONCATENATION"/>
</Not>
</Match>

<Match>
<Class name="~loci\.common\..*"/>
<Bug pattern="EQ_CHECK_FOR_OPERAND_NOT_COMPATIBLE_WITH_THIS,NM_SAME_SIMPLE_NAME_AS_SUPERCLASS"/>
Expand Down

0 comments on commit 7913cae

Please sign in to comment.