vieiro commented on code in PR #5432:
URL: https://github.com/apache/netbeans/pull/5432#discussion_r1096735730


##########
ide/css.visual/src/org/netbeans/modules/css/visual/RuleEditorNode.java:
##########
@@ -595,15 +596,29 @@ private PropertyValuesEditor 
createPropertyValueEditor(FileObject context, Prope
             GroupGrammarElement rootElement = 
pmodel.getGrammarElement(context);
 
             rootElement.accept(new GrammarElementVisitor() {
+                private Map<GroupGrammarElement,Void> seen = new 
IdentityHashMap<>();
+

Review Comment:
   It's fine, as in comment above we could also use a map for cleaner semantics.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to