Skip to content

Commit

Permalink
[ci] Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Mar 14, 2020
1 parent bc78edc commit f6666dd
Show file tree
Hide file tree
Showing 105 changed files with 60 additions and 108 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ void thisAlwaysPasses() {
public void thisIsIgnored() {
// Do nothing
}
}
}
1 change: 0 additions & 1 deletion src/it-tools/build-tools/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@
*/

assert new File(basedir, 'target/build-tools-testing.jar').exists()

Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
<Match>
<Bug pattern="DMI_INVOKING_TOSTRING_ON_ARRAY"/>
</Match>
</FindBugsFilter>
</FindBugsFilter>
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
<Match>
<Bug pattern="DLS_DEAD_LOCAL_STORE"/>
</Match>
</FindBugsFilter>
</FindBugsFilter>
1 change: 0 additions & 1 deletion src/it-tools/prime/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@
*/

assert new File(basedir, 'target/prime-testing.jar').exists()

2 changes: 1 addition & 1 deletion src/it/MFINDBUGS-178/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@
</plugin>
</plugins>
</reporting>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/basic-1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@
</plugin>
</plugins>
</reporting>
</project>
</project>
1 change: 0 additions & 1 deletion src/it/basic-1/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,3 @@ println "BugInstance size is ${xdocErrors}"
assert xdocErrors == spotbugsXmlErrors

assert spotbugsErrors == spotbugsXmlErrors

1 change: 0 additions & 1 deletion src/it/change-xml-filename/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ println "BugInstance size is ${spotbugsXmlErrors}"


assert spotbugsXmlErrors > 0

2 changes: 1 addition & 1 deletion src/it/check-fail/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/check-jvmargs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
1 change: 0 additions & 1 deletion src/it/check-jvmargs/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,3 @@ def xdocErrors = allNodes.findAll {it.name() == 'BugInstance'}.size()
println "BugInstance size is ${xdocErrors}"

assert xdocErrors == spotbugsXmlErrors

2 changes: 1 addition & 1 deletion src/it/check-multi/modules/module-1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
<artifactId>module-1</artifactId>
<name>module-1</name>
<packaging>jar</packaging>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/check-multi/modules/module-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
<artifactId>module-2</artifactId>
<name>module-2</name>
<packaging>jar</packaging>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/check-multi/modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@
<module>module-1</module>
<module>module-2</module>
</modules>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/check-multi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
<modules>
<module>modules</module>
</modules>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/check-nofail/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/check-pluginList-repo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
1 change: 0 additions & 1 deletion src/it/check-pluginList-repo/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@ def xdocErrors = allNodes.findAll {it.name() == 'BugInstance'}.size()
println "BugInstance size is ${xdocErrors}"

assert xdocErrors == spotbugsXmlErrors

2 changes: 1 addition & 1 deletion src/it/check-skip/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/check-timeout/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/check/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
1 change: 0 additions & 1 deletion src/it/check/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ def xdocErrors = xNodes.findAll {it.name() == 'BugInstance'}.size()
println "BugInstance size is ${xdocErrors}"

assert xdocErrors == spotbugsXmlErrors

2 changes: 1 addition & 1 deletion src/it/effort-default/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
</plugin>
</plugins>
</reporting>
</project>
</project>
1 change: 0 additions & 1 deletion src/it/effort-default/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,3 @@ assert path.findAll {it.name() == 'BugCollection'}[email protected]() == effortLeve
assert xdocErrors == spotbugsXmlErrors

assert spotbugsErrors == spotbugsXmlErrors

2 changes: 1 addition & 1 deletion src/it/effort-max/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
</plugin>
</plugins>
</reporting>
</project>
</project>
1 change: 0 additions & 1 deletion src/it/effort-max/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,3 @@ assert path.findAll {it.name() == 'BugCollection'}[email protected]() == effortLeve
assert xdocErrors == spotbugsXmlErrors

assert spotbugsErrors == spotbugsXmlErrors

2 changes: 1 addition & 1 deletion src/it/effort-min/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
</plugin>
</plugins>
</reporting>
</project>
</project>
1 change: 0 additions & 1 deletion src/it/effort-min/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,3 @@ assert path.findAll {it.name() == 'BugCollection'}[email protected]() == effortLeve
assert xdocErrors == spotbugsXmlErrors

assert spotbugsErrors == spotbugsXmlErrors

2 changes: 1 addition & 1 deletion src/it/empty/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@
</plugin>
</plugins>
</reporting>
</project>
</project>
2 changes: 0 additions & 2 deletions src/it/empty/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@
* limitations under the License.
*/


assert !(new File(basedir, 'target/site/spotbugs.html').exists())

assert !(new File(basedir, 'target/spotbugs.xml').exists())

assert !(new File(basedir, 'target/spotbugsXml.xml').exists())


2 changes: 1 addition & 1 deletion src/it/encoding-utf8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@
</plugin>
</plugins>
</reporting>
</project>
</project>
1 change: 0 additions & 1 deletion src/it/encoding-utf8/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@ println "BugInstance size is ${xdocErrors}"
assert xdocErrors == spotbugsXmlErrors

assert spotbugsErrors == spotbugsXmlErrors

2 changes: 1 addition & 1 deletion src/it/exclude-modules/module1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/exclude-modules/module2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/exclude-modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
<module>module1</module>
<module>module2</module>
</modules>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/exclude-multi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@
</plugin>
</plugins>
</reporting>
</project>
</project>
1 change: 0 additions & 1 deletion src/it/exclude-multi/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@ println "BugInstance size is ${xdocErrors}"
assert xdocErrors == spotbugsXmlErrors

assert spotbugsErrors == spotbugsXmlErrors

2 changes: 1 addition & 1 deletion src/it/exclude/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@
</plugin>
</plugins>
</reporting>
</project>
</project>
1 change: 0 additions & 1 deletion src/it/exclude/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@ println "BugInstance size is ${xdocErrors}"
assert xdocErrors == spotbugsXmlErrors

assert spotbugsErrors == spotbugsXmlErrors

2 changes: 1 addition & 1 deletion src/it/excludeBugsFile/excludeBugs1.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/it/excludeBugsFile/excludeBugs2.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/it/excludeBugsFile/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
1 change: 0 additions & 1 deletion src/it/excludeBugsFile/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@ def spotbugsXmlErrors = allNodes.findAll {it.name() == 'BugInstance'}.size()
println "BugInstance size is ${spotbugsXmlErrors}"

assert xdocErrors == spotbugsXmlErrors

2 changes: 1 addition & 1 deletion src/it/experimental/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@
</plugin>
</plugins>
</reporting>
</project>
</project>
1 change: 0 additions & 1 deletion src/it/experimental/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,3 @@ assert path.findAll {it.name() == 'BugCollection'}[email protected]() == thresho
assert xdocErrors == spotbugsXmlErrors

assert spotbugsErrors == spotbugsXmlErrors

1 change: 0 additions & 1 deletion src/it/include-multi/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@ println "BugInstance size is ${xdocErrors}"
assert xdocErrors == spotbugsXmlErrors

assert spotbugsErrors == spotbugsXmlErrors

1 change: 0 additions & 1 deletion src/it/include/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@ println "BugInstance size is ${xdocErrors}"
assert xdocErrors == spotbugsXmlErrors

assert spotbugsErrors == spotbugsXmlErrors

2 changes: 1 addition & 1 deletion src/it/maxRank/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
1 change: 0 additions & 1 deletion src/it/maxRank/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,3 @@ def spotbugsXmlErrors = allNodes.findAll {it.name() == 'BugInstance'}.size()
println "BugInstance size is ${spotbugsXmlErrors}"

assert xdocErrors == spotbugsXmlErrors

2 changes: 1 addition & 1 deletion src/it/multi-build/modules/module-1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
<artifactId>module-1</artifactId>
<name>module-1</name>
<packaging>jar</packaging>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/multi-build/modules/module-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
<artifactId>module-2</artifactId>
<name>module-2</name>
<packaging>jar</packaging>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/multi-build/modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
<module>module-1</module>
<module>module-2</module>
</modules>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/multi-build/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@
</plugin>
</plugins>
</reporting>
</project>
</project>
1 change: 0 additions & 1 deletion src/it/multi-build/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,3 @@ spotbugsXmlErrors = allNodes.findAll {it.name() == 'BugInstance' && it.@type ==
println "BugInstance with includes size is ${spotbugsXmlErrors}"

assert spotbugsErrors == spotbugsXmlErrors

2 changes: 1 addition & 1 deletion src/it/multi/modules/module-1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
<artifactId>module-1</artifactId>
<name>module-1</name>
<packaging>jar</packaging>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/multi/modules/module-1/src/site/xdoc/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
</p>
</section>
</body>
</document>
</document>
2 changes: 1 addition & 1 deletion src/it/multi/modules/module-2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
<artifactId>module-2</artifactId>
<name>module-2</name>
<packaging>jar</packaging>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/multi/modules/module-2/src/site/xdoc/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
</p>
</section>
</body>
</document>
</document>
2 changes: 1 addition & 1 deletion src/it/multi/modules/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@
<module>module-1</module>
<module>module-2</module>
</modules>
</project>
</project>
2 changes: 1 addition & 1 deletion src/it/multi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
<modules>
<module>modules</module>
</modules>
</project>
</project>
1 change: 0 additions & 1 deletion src/it/multi/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,3 @@ spotbugsXmlErrors = allNodes.findAll {it.name() == 'BugInstance' && it.@type ==
println "BugInstance with includes size is ${spotbugsXmlErrors}"

assert spotbugsErrors == spotbugsXmlErrors

2 changes: 1 addition & 1 deletion src/it/nested/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@
</plugin>
</plugins>
</reporting>
</project>
</project>
1 change: 0 additions & 1 deletion src/it/nested/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,3 @@ println "BugInstance size is ${xdocErrors}"
assert xdocErrors == spotbugsXmlErrors

assert spotbugsErrors == spotbugsXmlErrors

Loading

0 comments on commit f6666dd

Please sign in to comment.