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

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: