Uploaded image for project: 'Commons Sandbox'
  1. Commons Sandbox
  2. SANDBOX-229

Improve method signature consistency amongst static utlity methods in adapters subpackage

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mbenson Matthew Jason Benson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: