Skip to content

Commit

Permalink
FindBugs is dead. Long live SpotBugs!
Browse files Browse the repository at this point in the history
git-svn-id: http://josm.openstreetmap.de/svn/trunk@12801 0c6e7542-c601-0410-84e7-c038aed88b3b
  • Loading branch information
don-vip committed Sep 9, 2017
1 parent 8abaf7b commit 0a8fa54
Show file tree
Hide file tree
Showing 28 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
<classpathentry kind="lib" path="test/lib/unitils-core/ognl-2.6.9.jar"/>
<classpathentry kind="lib" path="test/lib/fest/debug-1.0.jar"/>
<classpathentry exported="true" kind="con" path="GROOVY_DSL_SUPPORT"/>
<classpathentry kind="lib" path="tools/findbugs/annotations.jar"/>
<classpathentry kind="lib" path="tools/spotbugs/spotbugs-annotations.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
2 changes: 1 addition & 1 deletion .settings/edu.umd.cs.findbugs.core.prefs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ detectorXssServletDetector=XssServletDetector|true
detectorXxeDetector=XxeDetector|true
detector_threshold=3
effort=max
excludefilter0=tools/findbugs/josm-filter.xml|true
excludefilter0=tools/spotbugs/josm-filter.xml|true
filter_settings=Low|BAD_PRACTICE,CORRECTNESS,EXPERIMENTAL,I18N,MALICIOUS_CODE,MT_CORRECTNESS,PERFORMANCE,SECURITY,STYLE|false|20
filter_settings_neg=NOISE|
run_at_full_build=true
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ This is an overview of the files and directories in the JOSM code repository:
problems in source code); can be launched as an ant target in build.xml
- commons-cli-1.3.1.jar dependency of Groovy Ant task
- error_prone_ant.jar used to detect code errors during compilation
- findbugs/ libs and config files for findbugs (automatically detects common bugs and potential
- spotbugs/ libs and config files for spotbugs (automatically detects common bugs and potential
problems in source code); can be launched as an ant target in build.xml
- groovy-all.jar used for some unit tests and various scripts
- jacocoant.jar used to include coverage data into JUnit test reports
Expand Down
24 changes: 12 additions & 12 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
</fileset>
<pathelement path="${dist.jar}"/>
<pathelement path="${groovy.jar}"/>
<pathelement path="tools/findbugs/annotations.jar"/>
<pathelement path="tools/spotbugs/spotbugs-annotations.jar"/>
</path>
<path id="pmd.classpath">
<fileset dir="${base.dir}/tools/pmd/">
Expand Down Expand Up @@ -713,7 +713,7 @@ Build-Date: ${build.tstamp}
<attribute name="output"/>
<sequential>
<echo message="Generating Taginfo for type @{type} to @{output}"/>
<groovy src="${taginfoextract}" classpath="${dist.jar}:tools/findbugs/annotations.jar">
<groovy src="${taginfoextract}" classpath="${dist.jar}:tools/spotbugs/spotbugs-annotations.jar">
<arg value="-t"/>
<arg value="@{type}"/>
<arg value="--noexit"/>
Expand Down Expand Up @@ -789,25 +789,25 @@ Build-Date: ${build.tstamp}
</checkstyle>
</target>

<target name="findbugs" depends="dist">
<taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="tools/findbugs/findbugs-ant.jar"/>
<path id="findbugs-classpath">
<fileset dir="${base.dir}/tools/findbugs/">
<target name="spotbugs" depends="dist">
<taskdef name="spotbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="tools/spotbugs/spotbugs-ant.jar"/>
<path id="spotbugs-classpath">
<fileset dir="${base.dir}/tools/spotbugs/">
<include name="*.jar"/>
</fileset>
</path>
<property name="findbugs-classpath" refid="findbugs-classpath"/>
<findbugs output="xml"
outputFile="findbugs-josm.xml"
classpath="${findbugs-classpath}"
<property name="spotbugs-classpath" refid="spotbugs-classpath"/>
<spotbugs output="xml"
outputFile="spotbugs-josm.xml"
classpath="${spotbugs-classpath}"
pluginList=""
excludeFilter="tools/findbugs/josm-filter.xml"
excludeFilter="tools/spotbugs/josm-filter.xml"
effort="max"
reportLevel="low"
>
<sourcePath path="${base.dir}/src" />
<class location="${dist.jar}" />
</findbugs>
</spotbugs>
</target>

<target name="pmd" depends="init-properties">
Expand Down
4 changes: 2 additions & 2 deletions netbeans/nbproject/project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ file.reference.fest-assert-1.0.jar=../test/lib/fest/fest-assert-1.0.jar
file.reference.fest-reflect-1.1.jar=../test/lib/fest/fest-reflect-1.1.jar
file.reference.fest-swing-1.1.jar=../test/lib/fest/fest-swing-1.1.jar
file.reference.fest-util-1.0.jar=../test/lib/fest/fest-util-1.0.jar
file.reference.findbugs.jar=../tools/findbugs/findbugs.jar
file.reference.spotbugs.jar=../tools/spotbugs/spotbugs.jar
file.reference.guava-21.0.jar=../test/lib/reflections/guava-21.0.jar
file.reference.hamcrest-core-1.3.jar=../test/lib/junit/hamcrest-core-1.3.jar
file.reference.javassist-3.21.0-GA.jar=../test/lib/reflections/javassist-3.21.0-GA.jar
Expand Down Expand Up @@ -92,7 +92,7 @@ javac.test.classpath=\
${file.reference.unitils-core-3.4.6.jar}:\
${file.reference.system-rules-1.16.1.jar}:\
${file.reference.wiremock-standalone-2.7.1.jar}:\
${file.reference.findbugs.jar}:\
${file.reference.spotbugs.jar}:\
${file.reference.commons-testing-2.1.0.jar}
javac.test.processorpath=\
${javac.test.classpath}
Expand Down
Binary file removed tools/findbugs/annotations.jar
Binary file not shown.
Binary file removed tools/findbugs/ant.jar
Binary file not shown.
Binary file removed tools/findbugs/asm-debug-all-6.0-SNAPSHOT.jar
Binary file not shown.
Binary file removed tools/findbugs/bcel-6.0-SNAPSHOT.jar
Binary file not shown.
Binary file removed tools/findbugs/buggy.icns
Binary file not shown.
Binary file removed tools/findbugs/findbugs-ant.jar
Binary file not shown.
Binary file removed tools/findbugs/jcip-annotations.jar
Binary file not shown.
Binary file removed tools/findbugs/jdepend-2.9.jar
Binary file not shown.
Binary file removed tools/findbugs/jsr305.jar
Binary file not shown.
Binary file removed tools/findbugs/yjp-controller-api-redist.jar
Binary file not shown.
Binary file added tools/spotbugs/asm-debug-all-6.0_BETA.jar
Binary file not shown.
Binary file added tools/spotbugs/bcel-6.1-20161207.023659-9.jar
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added tools/spotbugs/jcip-annotations-1.0.jar
Binary file not shown.
File renamed without changes.
Binary file added tools/spotbugs/jsr305-3.0.1.jar
Binary file not shown.
Binary file added tools/spotbugs/spotbugs-annotations.jar
Binary file not shown.
Binary file added tools/spotbugs/spotbugs-ant.jar
Binary file not shown.
Binary file not shown.
Binary file added tools/spotbugs/xml-apis-1.0.b2.jar
Binary file not shown.

0 comments on commit 0a8fa54

Please sign in to comment.