String concatenation
Reports String
concatenations. Concatenation might be incorrect in an internationalized environment and could be replaced by usages of java.text.MessageFormat
or similar classes.
Example:
String getMessage(String string, int number) {
return string + number;
}
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
StringConcatenation
Here you can find the description of settings available for the String concatenation inspection, and the reference of their default values.
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Java, 243.23126 |