Skip to content

Commit ba920cc

Browse files
authored
Merge pull request #907 from hazendaz/thorough-cleanup
[groovy] Move def to map for jsonslurper
2 parents 4153a5f + e31aaeb commit ba920cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/groovy/org/codehaus/mojo/spotbugs/SpotBugsMojo.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
11981198

11991199
if (sarifTempFile && sarifOutput && sarifTempFile.size() > 0) {
12001200

1201-
def slurpedResult = new JsonSlurper().parse(sarifTempFile)
1201+
Map slurpedResult = new JsonSlurper().parse(sarifTempFile)
12021202
JsonBuilder builder = new JsonBuilder(slurpedResult)
12031203

12041204
// With -Dspotbugs.sarifFullPath=true

0 commit comments

Comments
 (0)