mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
inline: ensure parenthesis around numeric sum used inside string concatenation (IDEA-145795)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
|
||||
class a {
|
||||
public static void main(String[] args)
|
||||
{
|
||||
int x = 2;
|
||||
System.out.println(getS<caret>tring(x + 2));
|
||||
}
|
||||
|
||||
private static String getString(int number)
|
||||
{
|
||||
return "" + number;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user