GumpacG commented on code in PR #3448:
URL: https://github.com/apache/tinkerpop/pull/3448#discussion_r3399664469


##########
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/map/CountLocalStep.java:
##########
@@ -42,6 +43,9 @@ public CountLocalStep(final Traversal.Admin traversal) {
     @Override
     protected Long map(final Traverser.Admin<S> traverser) {
         final S item = traverser.get();
+        if (item instanceof Tree)

Review Comment:
   Tree used to return count of root nodes which is misleading. As per the 
[devlist 
post](https://lists.apache.org/thread/15lslfrs5f27hsz00k147mwc38o58w5k), it is 
not counting all nodes.



-- 
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]

Reply via email to