Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8

Make return types of NodeState#getProperties() and NodeState#getChildNodeEntries() covariant

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.1
    • None
    • None

    Description

      The current invariant return types do not allow for example for

      @Override
      public Iterable<PropertyState> getProperties() {
          return new ArrayList<PropertyStateImpl>();
      }
      

      Attachments

        1. OAK-8.patch
          1.0 kB
          Michael Dürig

        Activity

          People

            mduerig Michael Dürig
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: