Skip to content

Commit e31aaeb

Browse files
committed
[groovy] Move def to map for jsonslurper
1 parent b8bb6c7 commit e31aaeb

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)