Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-355

IdentifiableItemCodec should ignore case when sorting keys

    Details

      Description

      Input parameter sequence of constructor of generated type or builder follows alphabetical and case-insensitive order, which differs with IdentifiableItemCodec expectation.

       

      IdentifiableItemCodec.java: 

      (q1, q2) -> q1.getLocalName().compareTo*IgnoreCase*(q2.getLocalName()

       

      ClassTempate.xtend:

      Collections.sort(sorted, [p1, p2|
      p1.name.compareTo(p2.name)
      ]);

       

      BuilderTemplate.xtend

      «Collections.sort(keyProps,
      [ p1, p2 |
      return p1.name.compareTo(p2.name)
      ])
      »

       

        Attachments

        # Subject Branch Project Status CR V

          Activity

            People

            • Assignee:
              rovarga Robert Varga
              Reporter:
              zhfinder Huafei Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: