cstamas commented on code in PR #697:
URL: https://github.com/apache/maven/pull/697#discussion_r843516695


##########
maven-model-transform/src/main/java/org/apache/maven/model/transform/pull/NodeBufferingParser.java:
##########
@@ -38,44 +37,54 @@
 
     private final List<Event> buffer = new ArrayList<>();
 
-    private final String nodeName;
+    private final ArrayList<String> stack = new ArrayList<>();

Review Comment:
   "... on API edges", yes, but this is totally and fully internal matter/state 
of implementation, where that mantra would result only in increasing import 
lines count, nothing more. I don't see this internal `stack` member exposed 
anywhere, so this is IMHO much better than saying `SuperType stack = new Type` 
that again, results in +1 import line only, nothing more.



-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to