[
https://issues.apache.org/jira/browse/SANDBOX-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345025#comment-14345025
]
Benedikt Ritter commented on SANDBOX-493:
-----------------------------------------
Hello Jonathan,
it's better not to mix up issues. Let's first just change the interface to
apply. We can upgrade to Java 8 (and maybe discuss if we want to do it) in a
separate issue.
Benedikt
> 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
> 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)