sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Desruisseaux (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SIS-141) MathFunctions.fractionDigitsForDelta(…) ignores the 'strict' argument
Date Thu, 24 Oct 2013 08:39:02 GMT
Martin Desruisseaux created SIS-141:
---------------------------------------

             Summary: MathFunctions.fractionDigitsForDelta(…) ignores the 'strict' argument
                 Key: SIS-141
                 URL: https://issues.apache.org/jira/browse/SIS-141
             Project: Spatial Information Systems
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 0.3
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
             Fix For: 0.4


The {{MathFunctions.fractionDigitsForDelta(double, boolean)}} static method ignores the {{strict}}
boolean argument. The method behaves as if the {{strict}} argument was always {{true}}. This
is because the {{if (strict) \{…\}}} statement was forgotten near the method end.

The consequence is that {{fractionDigitsForDelta(…, false)}} sometime returns a value higher
than expected, which affect some internal calculation done by {{AngleFormat}}.




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message