Files
openide/java/java-impl/resources/inspectionDescriptions/StringConcatenation.html
2025-02-05 04:43:28 +00:00

13 lines
385 B
HTML

<html>
<body>
Reports <code>String</code> concatenations. Concatenation might be incorrect in an internationalized environment
and could be replaced by usages of <code>java.text.MessageFormat</code> or similar classes.
<p><b>Example:</b></p>
<pre><code>
String getMessage(String string, int number) {
return string + number;
}
</code></pre>
<!-- tooltip end -->
</body>
</html>