Details

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

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

              Dates

                Created:
                Updated:
                Resolved: