forked from phoedos/pmd
Merge branch 'master' into 7.0.x
This commit is contained in:
commit
aa9a9c2bed
@ -44,7 +44,7 @@ public abstract class AbstractJjtreeNode<N extends Node> extends AbstractNode {
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("unchecked")
|
||||
public NodeStream<N> children() {
|
||||
public NodeStream<? extends N> children() {
|
||||
return (NodeStream<N>) super.children();
|
||||
}
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ public interface JavaNode extends ScopedNode, TextAvailableNode {
|
||||
|
||||
|
||||
@Override
|
||||
NodeStream<JavaNode> children();
|
||||
NodeStream<? extends JavaNode> children();
|
||||
|
||||
|
||||
@InternalApi
|
||||
|
@ -33,5 +33,5 @@ public interface JspNode extends Node {
|
||||
|
||||
|
||||
@Override
|
||||
NodeStream<JspNode> children();
|
||||
NodeStream<? extends JspNode> children();
|
||||
}
|
||||
|
@ -36,5 +36,5 @@ public interface ModelicaNode extends Node {
|
||||
|
||||
|
||||
@Override
|
||||
NodeStream<ModelicaNode> children();
|
||||
NodeStream<? extends ModelicaNode> children();
|
||||
}
|
||||
|
@ -37,5 +37,5 @@ public interface PLSQLNode extends Node, ScopedNode {
|
||||
|
||||
|
||||
@Override
|
||||
NodeStream<PLSQLNode> children();
|
||||
NodeStream<? extends PLSQLNode> children();
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ abstract class AbstractScalaNode<T extends Tree> extends AbstractNode implements
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("unchecked")
|
||||
public NodeStream<ScalaNode<?>> children() {
|
||||
public NodeStream<? extends ScalaNode<?>> children() {
|
||||
return (NodeStream<ScalaNode<?>>) super.children();
|
||||
}
|
||||
|
||||
|
@ -63,5 +63,5 @@ public interface ScalaNode<T extends Tree> extends Node {
|
||||
|
||||
|
||||
@Override
|
||||
NodeStream<ScalaNode<?>> children();
|
||||
NodeStream<? extends ScalaNode<?>> children();
|
||||
}
|
||||
|
@ -35,5 +35,5 @@ public interface VfNode extends Node {
|
||||
|
||||
|
||||
@Override
|
||||
NodeStream<VfNode> children();
|
||||
NodeStream<? extends VfNode> children();
|
||||
}
|
||||
|
@ -33,6 +33,6 @@ public interface VmNode extends Node {
|
||||
|
||||
|
||||
@Override
|
||||
NodeStream<VmNode> children();
|
||||
NodeStream<? extends VmNode> children();
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user