Uploaded image for project: 'Commons Chain'
  1. Commons Chain
  2. CHAIN-107

Lookup commands default constructor should not depend on a concrete CatalogFactory implementation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Base
    • Labels:
      None

      Description

      Currently the default constructor of o.a.c.chain.base.LookupCommand does the following:

      public LookupCommand() {
          this(CatalogFactory.<K, V, C>getInstance());
      }
      

      After CHAIN-86 has been resolved, users can use what ever CatalogFactory implementation they like. Therefore LookupCommand should not depend on a concrete implementation.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              britter Benedikt Ritter
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: