Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1220

Add tests for missed branches in DateUtils

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4
    • Fix Version/s: 3.5
    • Component/s: lang.time.*
    • Labels:
    • Flags:
      Patch

      Description

      Place holder for https://github.com/apache/commons-lang/pull/133

      Fixes a typo and adds tests for some missed branches in DateUtils.

      The isSame methods require both dates to be non-null. Previously, breaking the check to allow one of the dates to be null didn't trigger a failing test.

        Attachments

          Activity

            People

            • Assignee:
              kinow Bruno P. Kinoshita
              Reporter:
              kinow Bruno P. Kinoshita

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Issue deployment