Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5268

Replace lambda expression with method reference

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Core 2.2.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      In NaturalStrings: NATURAL_COMPARATOR_ASCII and IGNORE_CASE_NATURAL_COMPARATOR_ASCII comperators

      Method reference in this case doesn't change much but is since we are changing lambda with comprerator that always take two arguments (o1, o2 in this case) we can replace it with nice looking syntax.

        Attachments

          Activity

            People

            Assignee:
            navareth Bartłomiej Rasztabiga
            Reporter:
            tomekdo3 Tomasz Domagała
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: