mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
do not need parenthesis for associative operations (IDEADEV-41569); move to java-tests
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
class Client {
|
||||
void method() {
|
||||
<selection>PairProvider.getPair()</selection>
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
import util.Pair;
|
||||
|
||||
class PairProvider {
|
||||
public static Pair<String, Pair<Integer, Boolean>> getPair() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
package util;
|
||||
|
||||
class Pair<L,R> {
|
||||
public Pair(L l, R r) {
|
||||
|
||||
}
|
||||
public L getL() {
|
||||
return null;
|
||||
}
|
||||
public R getR() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user