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:
      In some classes, you can meet the raw use of parameterized classes.

      Example:

      • from the PatientProgram class:
        private Set<PatientProgramAttribute> attributes = new LinkedHashSet().

      Solution:
      In the example, replace LinkedHashSet() with LinkedHashSet<>().

      Comments:

      Link to place in code for example class:
      https://github.com/openmrs/openmrs-core/blob/master/api/src/main/java/org/openmrs/PatientProgram.java#L54

        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: