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

Update Chain Context interface to use K,V generics

    XMLWordPrintableJSON

    Details

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

      Description

      As discussed in the mailing list, I am suggesting that we change the definition of Context from:

      public interface Context extends Map<String, Object> {
      

      to:

      public interface Context<K, V> extends Map<K, V> {
      

        Attachments

        1. chain-58.diff
          42 kB
          Elijah Zupancic
        2. chain-58-improved-context-generic.diff
          147 kB
          Simone Tripodi
        3. chain-58-with-context-generic.diff
          51 kB
          Elijah Zupancic
        4. CHAIN-58-working-context-generics.patch
          156 kB
          Simone Tripodi

          Activity

            People

            • Assignee:
              simone.tripodi Simone Tripodi
              Reporter:
              elijah Elijah Zupancic
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: