You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Boxuan Li (Jira)" <ji...@apache.org> on 2021/07/26 15:17:00 UTC

[jira] [Comment Edited] (TINKERPOP-2522) DefaultTraversalMetrics::toString does not indent annotations correctly

    [ https://issues.apache.org/jira/browse/TINKERPOP-2522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17281635#comment-17281635 ] 

Boxuan Li edited comment on TINKERPOP-2522 at 7/26/21, 3:16 PM:
----------------------------------------------------------------

-I would love to contribute but cannot do it because Tinkerpop is not an approved project in my firm :(- 

I have left my previous job and now I am able to contribute. Just created a PR.


was (Author: li-boxuan):
I would love to contribute but cannot do it because Tinkerpop is not an approved project in my firm :( 

> DefaultTraversalMetrics::toString does not indent annotations correctly
> -----------------------------------------------------------------------
>
>                 Key: TINKERPOP-2522
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2522
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: process
>            Reporter: Boxuan Li
>            Priority: Major
>
> In [https://github.com/apache/tinkerpop/blob/master/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/util/DefaultTraversalMetrics.java#L255,] the indent parameter is not used when printing out annotations. That is, no matter what the indentation level is, annotations are always indented the same way. Looks like a bug to me.
> I noticed this behavior in [https://github.com/JanusGraph/janusgraph/pull/2410#issuecomment-770188509]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)