mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Java: Handle similar parameters of multiple parametrized duplicates (IDEA-191738)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
class Node {
|
||||
String getType() { return ""; }
|
||||
|
||||
String foo(Node left, Node right) {
|
||||
String leftType = left.getType().substring(1);
|
||||
<selection>String rightType = right.getType().substring(1);</selection>
|
||||
|
||||
String type = "A".substring(1);
|
||||
return leftType + rightType + type;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user