Skip to content

Commit

Permalink
Merge pull request #712 from hazendaz/master
Browse files Browse the repository at this point in the history
[cleanup] Replace 'def' on pluginFileName trim to be string
  • Loading branch information
hazendaz authored Dec 24, 2023
2 parents 100e462 + 7606995 commit 786e4a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ trait SpotBugsPluginsTrait {
String[] pluginJars = pluginList.split(SpotBugsInfo.COMMA)

pluginJars.each() { pluginJar ->
def pluginFileName = pluginJar.trim()
String pluginFileName = pluginJar.trim()

if (!pluginFileName.endsWith(".jar")) {
throw new IllegalArgumentException("Plugin File is not a Jar file: " + pluginFileName)
Expand Down

0 comments on commit 786e4a0

Please sign in to comment.