diff --git a/format.xml b/format.xml new file mode 100644 index 000000000..c0f581a03 --- /dev/null +++ b/format.xml @@ -0,0 +1,312 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/it/check-multi-filter-dups/pom.xml b/src/it/check-multi-filter-dups/pom.xml index 6ea77cf07..4a5eddf8b 100644 --- a/src/it/check-multi-filter-dups/pom.xml +++ b/src/it/check-multi-filter-dups/pom.xml @@ -60,5 +60,3 @@ - - diff --git a/src/it/no-src/pom.xml b/src/it/no-src/pom.xml index 73589d5cf..ac8beca53 100644 --- a/src/it/no-src/pom.xml +++ b/src/it/no-src/pom.xml @@ -50,4 +50,3 @@ - diff --git a/src/main/groovy/org/codehaus/mojo/spotbugs/BaseViolationCheckMojo.groovy b/src/main/groovy/org/codehaus/mojo/spotbugs/BaseViolationCheckMojo.groovy index 2928ed6fb..2d0fe6d7a 100644 --- a/src/main/groovy/org/codehaus/mojo/spotbugs/BaseViolationCheckMojo.groovy +++ b/src/main/groovy/org/codehaus/mojo/spotbugs/BaseViolationCheckMojo.groovy @@ -364,7 +364,7 @@ abstract class BaseViolationCheckMojo extends AbstractMojo { * @since 2.4.1 */ @Parameter(property = "spotbugs.maxAllowedViolations", defaultValue = "0") - int maxAllowedViolations + int maxAllowedViolations /** Disable bugs log. */ @Parameter(defaultValue = "false", property = "spotbugs.quiet") diff --git a/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy b/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy index 143ec009f..4332ac0e0 100644 --- a/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy +++ b/src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy @@ -1288,7 +1288,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait { /** * Set report output directory, allowed to be not read only as defined in AbstractMavenParent. - * + * * @see AbstractMavenReport#setReportOutputDirectory(File) */ @Override diff --git a/src/site/resources/examples/spotbugsXml.xml b/src/site/resources/examples/spotbugsXml.xml index 56106d22d..888cd1f27 100644 --- a/src/site/resources/examples/spotbugsXml.xml +++ b/src/site/resources/examples/spotbugsXml.xml @@ -1,7 +1,7 @@ - @@ -58,7 +57,7 @@ - +

Package org.codehaus.mojo.spotbugsmavenplugin.it

@@ -88,7 +87,7 @@

Package org.codehaus.mojo.spotbugsmavenplugin. - +
@@ -121,7 +120,7 @@

Package org.codehaus.mojo.spotbugsmavenplugin.

- + diff --git a/src/site/resources/examples/xref-test/overview-summary.html b/src/site/resources/examples/xref-test/overview-summary.html index 503912613..ddd94531f 100644 --- a/src/site/resources/examples/xref-test/overview-summary.html +++ b/src/site/resources/examples/xref-test/overview-summary.html @@ -1,6 +1,6 @@ - @@ -52,7 +51,7 @@ - +

basic-1 testing Reference

@@ -73,7 +72,7 @@

basic-1 testing Reference

- +
@@ -101,7 +100,7 @@

basic-1 testing Reference

- + diff --git a/src/site/resources/examples/xref-test/stylesheet.css b/src/site/resources/examples/xref-test/stylesheet.css index 7c9414e3d..8122f63bd 100644 --- a/src/site/resources/examples/xref-test/stylesheet.css +++ b/src/site/resources/examples/xref-test/stylesheet.css @@ -1,5 +1,5 @@ /** - * Copyright 2005-2023 the original author or authors. + * Copyright 2005-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -/* Javadoc style sheet */ /* Overall document style */ @@ -146,7 +145,7 @@ Navigation bar styles height:2.8em; padding-top:10px; overflow:hidden; - font-size:12px; + font-size:12px; } .bottomNav { margin-top:10px; @@ -346,7 +345,7 @@ ul.blockList li.blockList, ul.blockListLast li.blockList { } ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { padding:0px 20px 5px 10px; - border:1px solid #ededed; + border:1px solid #ededed; background-color:#f8f8f8; } ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { @@ -374,9 +373,9 @@ Table styles */ .overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; } .overviewSummary, .memberSummary { padding:0px; @@ -461,7 +460,7 @@ Table styles display:none; width:5px; margin-right:3px; - position:relative; + position:relative; float:left; background-color:#F8981D; } diff --git a/src/site/resources/examples/xref/AbstractMissingHashCode.html b/src/site/resources/examples/xref/AbstractMissingHashCode.html index d41019609..ad96873a4 100644 --- a/src/site/resources/examples/xref/AbstractMissingHashCode.html +++ b/src/site/resources/examples/xref/AbstractMissingHashCode.html @@ -1,6 +1,6 @@ - @@ -58,7 +57,7 @@ - +

Package annotations

@@ -83,7 +82,7 @@

Package annotations

- +
@@ -116,7 +115,7 @@

Package annotations

- + diff --git a/src/site/resources/examples/xref/overview-summary.html b/src/site/resources/examples/xref/overview-summary.html index 5dc387b1c..5a6df8f78 100644 --- a/src/site/resources/examples/xref/overview-summary.html +++ b/src/site/resources/examples/xref/overview-summary.html @@ -1,6 +1,6 @@ - @@ -52,7 +51,7 @@ - +

basic-1 testing Reference

@@ -78,7 +77,7 @@

basic-1 testing Reference

- +
@@ -106,7 +105,7 @@

basic-1 testing Reference

- + diff --git a/src/site/resources/examples/xref/package-summary.html b/src/site/resources/examples/xref/package-summary.html index b2d04d4b5..44342bcba 100644 --- a/src/site/resources/examples/xref/package-summary.html +++ b/src/site/resources/examples/xref/package-summary.html @@ -1,6 +1,6 @@ - @@ -58,7 +57,7 @@ - +

Package (default package)

@@ -228,7 +227,7 @@

Package (default package)

- +
@@ -261,7 +260,7 @@

Package (default package)

- + diff --git a/src/site/resources/examples/xref/stylesheet.css b/src/site/resources/examples/xref/stylesheet.css index 7c9414e3d..8122f63bd 100644 --- a/src/site/resources/examples/xref/stylesheet.css +++ b/src/site/resources/examples/xref/stylesheet.css @@ -1,5 +1,5 @@ /** - * Copyright 2005-2023 the original author or authors. + * Copyright 2005-2024 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -/* Javadoc style sheet */ /* Overall document style */ @@ -146,7 +145,7 @@ Navigation bar styles height:2.8em; padding-top:10px; overflow:hidden; - font-size:12px; + font-size:12px; } .bottomNav { margin-top:10px; @@ -346,7 +345,7 @@ ul.blockList li.blockList, ul.blockListLast li.blockList { } ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { padding:0px 20px 5px 10px; - border:1px solid #ededed; + border:1px solid #ededed; background-color:#f8f8f8; } ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { @@ -374,9 +373,9 @@ Table styles */ .overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; } .overviewSummary, .memberSummary { padding:0px; @@ -461,7 +460,7 @@ Table styles display:none; width:5px; margin-right:3px; - position:relative; + position:relative; float:left; background-color:#F8981D; }