Skip to content

Commit 7dfbfa4

Browse files
authored
Merge pull request #1025 from hazendaz/master
Move 'def' to 'GPathResult' for clarity
2 parents d9f501b + e3eb49b commit 7dfbfa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ class SpotbugsReportGenerator implements SpotBugsInfo {
275275
String category = bugInstance.@category.text()
276276
String message = bugInstance.LongMessage.text()
277277
String priority = bugInstance.@priority.text()
278-
def line = bugInstance.SourceLine[0]
278+
GPathResult line = bugInstance.SourceLine[0]
279279
log.debug("BugInstance message is ${message}")
280280

281281
sink.tableRow()

0 commit comments

Comments
 (0)