[ 
https://issues.apache.org/jira/browse/SANDBOX-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14344141#comment-14344141
 ] 

Bruno P. Kinoshita commented on SANDBOX-493:
--------------------------------------------

+1 from me. I like how compare gives an idea of that the method is clearly 
doing, but if it will make the transition to Java 8 easier, than I'd say let's 
change it. 

What do you think [~britter]?

> 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)

Reply via email to