You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matt Benson (JIRA)" <ji...@apache.org> on 2008/04/10 01:36:04 UTC
[jira] Created: (SANDBOX-229) Improve method signature consistency
amongst static utlity methods in adapters subpackage
Improve method signature consistency amongst static utlity methods in adapters subpackage
-----------------------------------------------------------------------------------------
Key: SANDBOX-229
URL: https://issues.apache.org/jira/browse/SANDBOX-229
Project: Commons Sandbox
Issue Type: Improvement
Reporter: Matt Benson
IgnoreLeftFunction and IgnoreRightFunction return BinaryFunction from their adapt methods while all their sibling classes return specific types. It is reasonable that a static method from a given functor implementation would return an instance of the declaring class; further, consistency should be seen as important for a package containing so many implementations of relatively few interfaces.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SANDBOX-229) Improve method signature consistency
amongst static utlity methods in adapters subpackage
Posted by "Matt Benson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SANDBOX-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Benson resolved SANDBOX-229.
---------------------------------
Resolution: Fixed
svn rev 646592
> Improve method signature consistency amongst static utlity methods in adapters subpackage
> -----------------------------------------------------------------------------------------
>
> Key: SANDBOX-229
> URL: https://issues.apache.org/jira/browse/SANDBOX-229
> Project: Commons Sandbox
> Issue Type: Improvement
> Reporter: Matt Benson
>
> IgnoreLeftFunction and IgnoreRightFunction return BinaryFunction from their adapt methods while all their sibling classes return specific types. It is reasonable that a static method from a given functor implementation would return an instance of the declaring class; further, consistency should be seen as important for a package containing so many implementations of relatively few interfaces.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.