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

Correctness - int value cast to float and then passed to Math.round

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: Platform 1.12.0
    • Fix Version/s: Platform 2.0.0
    • Component/s: None
    • Labels:
    • Complexity:
      Undetermined

      Description

      Sonar reports: "Correctness - int value cast to float and then passed to Math.round" in file InitializationFilter.java

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

        Gliffy Diagrams

          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 - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 hour
                    1h