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

    • Sub-task
    • Status: Closed
    • Could
    • Resolution: Fixed
    • None
    • Core 2.5.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: