gintool / gin

GI in No Time - a Simple Microframework for Genetic Improvement
MIT License
43 stars 20 forks source link

Fix codesmells related to strings #71

Closed MaximoOliveira closed 3 years ago

MaximoOliveira commented 3 years ago

String.valueOf() should not be appended to a String: https://rules.sonarsource.com/java/tag/clumsy/RSPEC-1153

"toString()" should never be called on a String object

The return value of "substring" must be used: Return values from functions without side effects should not be ignored

Strings should not be concatenated using '+' in a loop: https://rules.sonarsource.com/java/RSPEC-1643