File tree 1 file changed +2
-1
lines changed
src/main/groovy/org/codehaus/mojo/spotbugs 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import groovy.json.JsonBuilder
20
20
import groovy.json.JsonSlurper
21
21
import groovy.xml.XmlSlurper
22
22
import groovy.xml.slurpersupport.GPathResult
23
+ import groovy.xml.slurpersupport.NodeChildren
23
24
import groovy.xml.StreamingMarkupBuilder
24
25
25
26
import java.nio.charset.Charset
@@ -1125,7 +1126,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
1125
1126
errorCount = allNodes. findAll { it. name() == ' Error' }. size()
1126
1127
log. debug(" Error size is ${ errorCount} " )
1127
1128
1128
- def xmlProject = path.Project
1129
+ NodeChildren xmlProject = path.Project
1129
1130
1130
1131
session. getCurrentProject(). compileSourceRoots. each() { compileSourceRoot ->
1131
1132
xmlProject. appendNode { SrcDir (compileSourceRoot) }
You can’t perform that action at this time.
0 commit comments