Uploaded image for project: 'Google Code-in'
  1. Google Code-in
  2. GCI-248

Dead store to identifierTypes in PatientServiceImpl

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Should
    • Resolution: Change Implemented
    • Labels:
    • Complexity:
      Low

      Description

      Remove these linesĀ https://github.com/openmrs/openmrs-core/blob/master/api/src/main/java/org/openmrs/api/impl/PatientServiceImpl.java#L1626-L1628

      Background Information:

      This instruction assigns a value to a variable, but the value is not read or used in any subsequent instruction. Often, this indicates an error, because the value computed is never used.
      
      If a local variable is declared but not used, it is dead code and should be removed. Doing so will improve maintainability because developers will not wonder what the variable is used for.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              dkayiwa Daniel Kayiwa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: