]> source.dussan.org Git - poi.git/commitdiff
eclipse warnings - raw list access
authorAndreas Beeker <kiwiwings@apache.org>
Tue, 13 Dec 2016 00:34:30 +0000 (00:34 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Tue, 13 Dec 2016 00:34:30 +0000 (00:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1773909 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/poifs/property/Parent.java

index 79c286c44e7e2c365120c136f0176408216307ce..24e2bb266d3615073029deb6dc9b426873f7f7f5 100644 (file)
@@ -23,12 +23,8 @@ import java.io.IOException;
 
 /**
  * Behavior for parent (directory) properties
- *
- * @author Marc Johnson27591@hotmail.com
  */
-public interface Parent
-    extends Child
-{
+public interface Parent extends Child, Iterable<Property> {
 
     /**
      * Get an iterator over the children of this Parent; all elements
@@ -37,7 +33,7 @@ public interface Parent
      * @return Iterator of children; may refer to an empty collection
      */
 
-    public Iterator getChildren();
+    public Iterator<Property> getChildren();
 
     /**
      * Add a new child to the collection of children