@@ -19,7 +19,7 @@ import groovy.ant.AntBuilder
19
19
import groovy.json.JsonBuilder
20
20
import groovy.json.JsonSlurper
21
21
import groovy.xml.XmlSlurper
22
- import groovy.xml.slurpersupport.GPathResult ;
22
+ import groovy.xml.slurpersupport.GPathResult
23
23
import groovy.xml.StreamingMarkupBuilder
24
24
25
25
import org.apache.maven.doxia.siterenderer.Renderer
@@ -37,7 +37,7 @@ import org.codehaus.plexus.resource.ResourceManager
37
37
import org.codehaus.plexus.resource.loader.FileResourceLoader
38
38
39
39
import java.nio.charset.Charset
40
- import java.nio.charset.StandardCharsets ;
40
+ import java.nio.charset.StandardCharsets
41
41
import java.nio.file.Files
42
42
import java.nio.file.Paths
43
43
import java.util.stream.Collectors
@@ -369,7 +369,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
369
369
* @since 4.8.3.0 includes classifier
370
370
*/
371
371
@Parameter
372
- PluginArtifact [] plugins;
372
+ PluginArtifact [] plugins
373
373
374
374
/**
375
375
* Restrict analysis to the given comma-separated list of classes and packages.
@@ -717,7 +717,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
717
717
718
718
xDocsReporter. generateReport()
719
719
}
720
-
721
720
}
722
721
723
722
/**
@@ -803,7 +802,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
803
802
}
804
803
805
804
if (htmlOutput) {
806
- args << ' -html=' + htmlTempFile. getAbsolutePath()
805
+ args << ' -html=' + htmlTempFile. getAbsolutePath()
807
806
}
808
807
809
808
args << ' -xml:withMessages=' + xmlTempFile. getAbsolutePath()
@@ -870,7 +869,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
870
869
args << ' -include'
871
870
args << resourceHelper. getResourceFile(includefilter. trim())
872
871
}
873
-
874
872
}
875
873
876
874
if (includeFilterFiles) {
@@ -880,7 +878,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
880
878
args << ' -include'
881
879
args << resourceHelper. getResourceFile(includefilter. trim())
882
880
}
883
-
884
881
}
885
882
886
883
if (excludeFilterFile) {
@@ -891,7 +888,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
891
888
args << ' -exclude'
892
889
args << resourceHelper. getResourceFile(excludeFilter. trim())
893
890
}
894
-
895
891
}
896
892
897
893
if (excludeFilterFiles) {
@@ -901,7 +897,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
901
897
args << ' -exclude'
902
898
args << resourceHelper. getResourceFile(excludeFilter. trim())
903
899
}
904
-
905
900
}
906
901
907
902
if (excludeBugsFile) {
@@ -1109,7 +1104,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
1109
1104
log. debug(" System property ${ sysProp.key} is ${ sysProp.value} " )
1110
1105
sysproperty(key : sysProp. key, value : sysProp. value)
1111
1106
}
1112
-
1113
1107
}
1114
1108
1115
1109
long duration
@@ -1182,7 +1176,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
1182
1176
if (! log. isDebugEnabled()) {
1183
1177
xmlTempFile. delete()
1184
1178
}
1185
-
1186
1179
}
1187
1180
1188
1181
if (sarifTempFile && sarifOutput && sarifTempFile. size() > 0 ) {
@@ -1218,7 +1211,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
1218
1211
+ ' The path include in the SARIF report could be incomplete.' )
1219
1212
}
1220
1213
}
1221
-
1222
1214
}
1223
1215
}
1224
1216
@@ -1233,7 +1225,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
1233
1225
sarifTempFile. delete()
1234
1226
}
1235
1227
}
1236
-
1237
1228
}
1238
1229
1239
1230
/**
@@ -1272,7 +1263,6 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
1272
1263
log. debug(" thresholdParameter is ${ thresholdParameter} " )
1273
1264
1274
1265
return thresholdParameter
1275
-
1276
1266
}
1277
1267
1278
1268
/**
@@ -1285,5 +1275,4 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
1285
1275
super . setReportOutputDirectory(reportOutputDirectory)
1286
1276
this . outputDirectory = reportOutputDirectory
1287
1277
}
1288
-
1289
1278
}
0 commit comments