Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-179

Modify the Query interface to be Query<K, T extends Persistent> to be more precise

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.3
    • Fix Version/s: 0.3
    • Component/s: gora-core
    • Labels:
      None

      Description

      Currently the Query interface just use generics for the signature Query<K, T>.

      Would like to change it to Query<K, T extends Persistent> to be more precise that all implementors and user of this interface can only pass Persistent object as the object.

        Attachments

        1. GORA-179.patch
          6 kB
          Henry Saputra

          Activity

            People

            • Assignee:
              hsaputra Henry Saputra
              Reporter:
              hsaputra Henry Saputra
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: