You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Rob Tompkins (JIRA)" <ji...@apache.org> on 2017/03/17 12:30:42 UTC
[jira] [Closed] (TEXT-8) Change (R) StringMetric.compare(CS left,
CS right) to "apply" so that it is consistent with BiFunction.
[ https://issues.apache.org/jira/browse/TEXT-8?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rob Tompkins closed TEXT-8.
---------------------------
Released 1.0
> Change (R) StringMetric.compare(CS left, CS right) to "apply" so that it is consistent with BiFunction.
> -------------------------------------------------------------------------------------------------------
>
> Key: TEXT-8
> URL: https://issues.apache.org/jira/browse/TEXT-8
> Project: Commons Text
> Issue Type: Improvement
> Reporter: Jonathan Baker
> Priority: Minor
> Fix For: 1.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)