[TEXT-8] Change (R) StringMetric.compare(CS left, CS right) to "apply" so that it is consistent with BiFunction. (original) (raw)

Log inSkip to main contentSkip to sidebar

ASF Jira

Uploaded image for project: 'Commons Text'

  1. Commons Text
  2. TEXT-8

XMLWordPrintableJSON

Details

Description

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

Attachments

Activity

People

Votes:

0 Vote for this issue

Watchers:

4 Start watching this issue

Dates

Created:

02/Mar/15 12:13

Updated:

17/Mar/17 12:29

Resolved:

20/Mar/15 02:40