In Java I can convert an int to a string by "" + intValue. Sonarqube and sonarlint flag this as inappropriate.
Why is this inappropriate. As far as I know Integer.toString(intValue) is more verbose and does the same.
I can imagine to flag it if not "" but Object x is used as in x + intValue where x is initialized as an integer. Ran into something like that with Javascript code.