Skip to content
Snippets Groups Projects
Commit 9d6e8c89 authored by Joy Clark's avatar Joy Clark
Browse files

try yet again!!

parent 56cecc93
No related branches found
No related tags found
No related merge requests found
......@@ -309,13 +309,13 @@ public abstract class Node extends PositionedNode implements Switchable, Cloneab
return null;
}
protected <T> List<T> cloneList(List<T> list)
protected <T extends Node> List<T> cloneList(List<T> list)
{
List<T> clone = new LinkedList<T>();
for(T n : list)
{
clone.add(cloneNode((Node) n));
clone.add(cloneNode(n));
}
return clone;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment