Skip to content

Commit

Permalink
[cleanup] Use string instead of def for 'uri' treated as 'string'
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Dec 24, 2023
1 parent 5a325c7 commit fc525f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,7 @@ class SpotBugsMojo extends AbstractMavenReport implements SpotBugsPluginsTrait {
for (result in slurpedResult.runs.results[0]) {

for (loc in result.locations) {
def originalFullPath = loc.physicalLocation.artifactLocation.uri
String originalFullPath = loc.physicalLocation.artifactLocation.uri

//We replace relative path to the complete path
String newFileName = indexer.searchActualFilesLocation(originalFullPath)
Expand Down

0 comments on commit fc525f8

Please sign in to comment.