Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5127

Deprecate or remove unused fields

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      In an attempt to remove unused private fields sonar pointed us to

      • Webutil.defaultDateCache
      • Schedule.defaultDateCache

      which do have public getters/setters that dont seem to be used within openmrs-core but we were unsure about others

      see discussion on the PR
      https://github.com/openmrs/openmrs-core/pull/2067/commits/0c38f772b015aa00ea168390d77edefccccd63c3

      You can also find them on sonar qube
      https://sonar.openmrs.org/code?id=org.openmrs%3Aopenmrs&selected=org.openmrs.web%3Aopenmrs-web%3Asrc%2Fmain%2Fjava%2Forg%2Fopenmrs%2Fweb%2FWebUtil.java

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                samuel34 Samuel Male
                Reporter:
                teleivo Ivo Ulrich
                Designated Committer:
                Ivo Ulrich Ivo Ulrich
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 1 day
                    1d
                    Remaining:
                    Time Spent - 1 hour Remaining Estimate - 7 hours
                    7h
                    Logged:
                    Time Spent - 1 hour Remaining Estimate - 7 hours
                    1h