Menu

#413 New UnusedLocalVariableAssignment rule

open
nobody
None
5
2013-04-05
2013-04-05
Chris Mair
No

New UnusedLocalVariableAssignment rule

def myMethod() {
def x = 123
println x
x = 99 // Violation
}

def myMethod() {
doStuff()
def x = 123 // Violation
}

See UnusedVariable Rule

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.