You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bruno P. Kinoshita (JIRA)" <ji...@apache.org> on 2015/03/20 03:40:39 UTC

[jira] [Resolved] (SANDBOX-493) Change (R) StringMetric.compare(CS left, CS right) to "apply" so that it is consistent with BiFunction.

     [ https://issues.apache.org/jira/browse/SANDBOX-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruno P. Kinoshita resolved SANDBOX-493.
----------------------------------------
    Resolution: Fixed

> Change (R) StringMetric.compare(CS left, CS right) to "apply" so that it is consistent with BiFunction.
> -------------------------------------------------------------------------------------------------------
>
>                 Key: SANDBOX-493
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-493
>             Project: Commons Sandbox
>          Issue Type: Improvement
>          Components: Commons Text
>            Reporter: Jonathan Baker
>            Assignee: Bruno P. Kinoshita
>            Priority: Minor
>
> 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.4#6332)