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.

    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

          People

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

            Dates

              Created:
              Updated:
              Resolved: