Merge pull request #1425 from thatsIch/e-weaker-collection-type

Use weaker collection types
This commit is contained in:
thatsIch
2015-05-09 15:57:57 +02:00
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 )