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

Dodgy - Redundant nullcheck of value known to be non-null

    XMLWordPrintable

    Details

    • Complexity:
      Low

      Description

      Sonar reports: "This method contains a redundant check of a known non-null value against the constant null." in files:
      MemoryLeakUtil.java
      ShortPatientFormController.java
      FieldGenTag.java
      ORUR01Handler.java
      UpgradeUtil.java

      https://ci.openmrs.org/sonar/drilldown/issues/1865?&rule=findbugs%3ARCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE&rule_sev=CRITICAL&severity=CRITICAL#

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tmueller Tomasz Mueller
              Reporter:
              tmueller Tomasz Mueller
              Designated Committer:
              Rafal Korytkowski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 1 day
                  1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified