Open murdos opened 2 years ago
https://rules.sonarsource.com/java/RSPEC-5612
Could transform e.g. collection.foreach(item -> ...) loop to for(item : collection) { ...} if lamba has too much lines.
collection.foreach(item -> ...)
for(item : collection) { ...}
Thanks @murdos
https://rules.sonarsource.com/java/RSPEC-5612
Could transform e.g.
collection.foreach(item -> ...)
loop tofor(item : collection) { ...}
if lamba has too much lines.