Commons Lang
  1. Commons Lang
  2. LANG-141

[lang] Fraction.toProperString() returns -1/1 for -1

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: PC

      Description

      Test case:

      assertEquals("-1", Fraction.getFraction(-1).toProperString());

        Activity

        Mark Thomas made changes -
        Workflow jira [ 12371653 ] Default workflow, editable Closed status [ 12602003 ]
        Henri Yandell made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Fix Version/s 2.2 [ 12311702 ]
        Henri Yandell made changes -
        Affects Version/s 2.1 Final [ 12311701 ]
        Henri Yandell made changes -
        Key COM-2596 LANG-141
        Assignee Jakarta Commons Developers Mailing List [ commons-dev@jakarta.apache.org ]
        Affects Version/s 2.1 Final [ 12311659 ]
        Project Commons [ 12310458 ] Commons Lang [ 12310481 ]
        Component/s Lang [ 12311121 ]
        Fix Version/s 2.2 [ 12311686 ]
        Henri Yandell made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 37661 12342748
        Hide
        Henri Yandell added a comment -

        Test applied; and fix made via another hard-coded if statement. Thanks.

        Show
        Henri Yandell added a comment - Test applied; and fix made via another hard-coded if statement. Thanks.
        Thomas Edwin Santosa created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Thomas Edwin Santosa
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development