mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
extract PsiPrecedenceUtil as read-only part of ParenthesisUtils
leave methods to ensure compatibility, to be inlined and deprecated in separate commit (IDEA-CR-30329)
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
// "Remove redundant cast(s)" "true"
|
||||
class Test {
|
||||
{
|
||||
double d = -1e20 + (1e20 - 1);
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Remove redundant cast(s)" "true"
|
||||
class Test {
|
||||
{
|
||||
int i = 1;
|
||||
int j = 2;
|
||||
System.out.println(j * (i % j));
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Remove redundant cast(s)" "true"
|
||||
class Test {
|
||||
{
|
||||
String s = "" + (1 + 2);
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Remove redundant cast(s)" "true"
|
||||
class Test {
|
||||
{
|
||||
double d = -1e20 + (do<caret>uble)(1e20 - 1);
|
||||
}
|
||||
}
|
||||
+8
@@ -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));
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Remove redundant cast(s)" "true"
|
||||
class Test {
|
||||
{
|
||||
String s = "" + (in<caret>t) (1 + 2);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user