Uploaded image for project: 'Commons Text'
  1. Commons Text
  2. TEXT-8

Change (R) StringMetric.compare(CS left, CS right) to "apply" so that it is consistent with BiFunction.

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0
    • None

    Description

      Whenever commons-text supports Java 8, StringMetric<R> should extend BiFunction<CharSequence, CharSequence, R>. Renaming "compare" to "apply" now will make that transition smoother later.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            jbaker Jonathan Baker
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment