JBehave
  1. JBehave
  2. JBEHAVE-364

Ensure ExamplesTable preserves ordering of columns

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1
    • Component/s: Core
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Currently the ExampleTable does not guarantee order of the columns since the row is returned as a HashMap.

      In some cases, the preserving the order of the textual table may be useful in the implementation of the step. Using LinkedHashMap would preserve the ordering, at a small cost of performance.

        Activity

        Mauro Talevi made changes -
        Field Original Value New Value
        Fix Version/s 3.1 [ 16511 ]
        Mauro Talevi made changes -
        Summary Order-preserving ExamplesTable Ensure ExamplesTable preserves ordering of columns
        Description Currently the ExampleTable does not guarantee order of the columns since the row is returned as a Map.

        In some cases, the preserving the order of the textual table may be useful in the implementation of the step.

        Currently the ExampleTable does not guarantee order of the columns since the row is returned as a HashMap.

        In some cases, the preserving the order of the textual table may be useful in the implementation of the step. Using LinkedHashMap would preserve the ordering, at a small cost of performance.



        Mauro Talevi made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Mauro Talevi
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: