We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ddaee6a commit 4492859Copy full SHA for 4492859
src/main/java/io/protostuff/jetbrains/plugin/view/structure/MessageTreeElement.java
@@ -27,9 +27,8 @@ public ItemPresentation getPresentation() {
27
@Override
28
public TreeElement[] getChildren() {
29
List<TreeElement> treeElements = new ArrayList<>();
30
- for (PsiElement psiElement : element.getChildren()) {
+ for (PsiElement node : element.getChildren()) {
31
// first and the only child
32
- PsiElement node = psiElement.getFirstChild();
33
if (node instanceof MessageNode) {
34
TreeElement element = new MessageTreeElement((MessageNode) node);
35
treeElements.add(element);
0 commit comments