Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2522

DefaultTraversalMetrics::toString does not indent annotations correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.1
    • 3.6.0
    • process
    • None

    Description

      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

      Attachments

        Activity

          People

            spmallette Stephen Mallette
            li-boxuan Boxuan Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: