Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5845 Search and fix minor errors and typos
  3. TRUNK-5856

Simplification of the ChangeLogVersionFinder class code

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Core 2.5.0
    • Component/s: None
    • Labels:
    • Complexity:
      Low

      Description

      Case:
      The getSnapshotCombinations method uses the addAll method but can use a parameterized constructor for the list.

      Conclusions:
      The use of a parameterized constructor can improve the readability of the code.

      Link to place in code:
      https://github.com/openmrs/openmrs-core/blob/master/api/src/main/java/org/openmrs/liquibase/ChangeLogVersionFinder.java#L91-L93

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              navareth Bartłomiej Rasztabiga
              Reporter:
              sacull Lukasz Debicki
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: