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

Update Chain Context interface to use K,V generics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • None
    • 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-working-context-generics.patch
          156 kB
          Simone Tripodi
        2. chain-58-with-context-generic.diff
          51 kB
          Elijah Zupancic
        3. chain-58-improved-context-generic.diff
          147 kB
          Simone Tripodi
        4. chain-58.diff
          42 kB
          Elijah Zupancic

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: