Use weaker collection types

This commit is contained in:
thatsIch
2015-05-09 00:04:44 +02:00
parent b8f22202d4
commit 16c0fbe3c1
18 changed files with 31 additions and 26 deletions
+2 -2
View File
@@ -175,7 +175,7 @@ public class GridNode implements IGridNode, IPathItem
gcv.visitConnection( nextConn.poll() );
}
LinkedList<GridNode> thisRun = nextRun;
Iterable<GridNode> thisRun = nextRun;
nextRun = new LinkedList<GridNode>();
for( GridNode n : thisRun )
@@ -188,7 +188,7 @@ public class GridNode implements IGridNode, IPathItem
{
while( !nextRun.isEmpty() )
{
LinkedList<GridNode> thisRun = nextRun;
Iterable<GridNode> thisRun = nextRun;
nextRun = new LinkedList<GridNode>();
for( GridNode n : thisRun )