Skip to content

Commit

Permalink
java9: TreeNode has grown some generics
Browse files Browse the repository at this point in the history
  • Loading branch information
FauxFaux committed Aug 22, 2017
1 parent 92def16 commit 1a3cdfa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions src/main/java/org/dom4j/swing/LeafTreeNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* @version $Revision: 1.7 $
*/
public class LeafTreeNode implements TreeNode {
protected static final Enumeration<?> EMPTY_ENUMERATION = new Enumeration() {
protected static final Enumeration<? extends TreeNode> EMPTY_ENUMERATION = new Enumeration() {
public boolean hasMoreElements() {
return false;
}
Expand Down Expand Up @@ -54,7 +54,7 @@ public LeafTreeNode(TreeNode parent, Node xmlNode) {

// TreeNode methods
// -------------------------------------------------------------------------
public Enumeration<?> children() {
public Enumeration<? extends TreeNode> children() {
return EMPTY_ENUMERATION;
}

Expand Down

0 comments on commit 1a3cdfa

Please sign in to comment.