respect precedence for div as production argument (IDEA-187205)

This commit is contained in:
Anna.Kozlova
2018-03-07 09:18:32 +01:00
parent 5be28ade9e
commit 9bdd5f11e3
4 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
// "Remove redundant cast(s)" "true"
class Test {
{
int i = 1;
int j = 2;
System.out.println(j * (i / j));
}
}

View File

@@ -0,0 +1,8 @@
// "Remove redundant cast(s)" "true"
class Test {
{
int i = 1;
int j = 2;
System.out.println(j * (i<caret>nt)(i / j));
}
}