Closed georgekankava closed 8 years ago
The other changes seem OK. The habit of placing the private constructor at the bottom is not important. And replacing the System.err
output with a log output is OK (even though that if someone ever receives this message, something must be severely messed up anyhow...)
I will put the private constructor back where it was.
To avoid misunderstandings: It's okay to move it to a place where Sonar does not complain. I mean that I hardly care where it is. (I'm just habitually placing it at the bottom, but it can be anywhere...)
@gpu Thanks. PR updated.
Thanks again!
This pull request is focused on resolving occurrences of Sonar rules squid:S00115 - Constant names should comply with a naming convention. squid:S106 - Standard outputs should not be used directly to log anything. squid:S1213 - The members of an interface declaration or class should appear in a pre-defined order. This pull request removes technical debt of 135 minutes. You can find more information about the issue here: https://dev.eclipse.org/sonar/rules/show/squid:S00115 https://dev.eclipse.org/sonar/rules/show/squid:S106 https://dev.eclipse.org/sonar/rules/show/squid:S1213 Please let me know if you have any questions. George Kankava