mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
IDEA-99028 Introduce casted variable intention breaks formatting
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// "Insert '(NodeInfo)parent' declaration" "true"
|
||||
public abstract class A {
|
||||
public void getNodeElements(Object parent) {
|
||||
if (!(parent instanceof NodeInfo)) return;
|
||||
NodeInfo nodeInfo = (NodeInfo) parent;
|
||||
<caret>
|
||||
}
|
||||
|
||||
private static class NodeInfo {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// "Insert '(NodeInfo)parent' declaration" "true"
|
||||
public abstract class A {
|
||||
public void getNodeElements(Object parent) {
|
||||
if (!(parent instanceof <caret>NodeInfo)) return;
|
||||
}
|
||||
|
||||
private static class NodeInfo {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user