resolve suspicious calls

This commit is contained in:
Salomão
2021-06-14 02:33:43 -03:00
parent 26c06bca15
commit 7b91da58c0
5 changed files with 24 additions and 16 deletions
+2 -2
View File
@@ -633,10 +633,10 @@ public class GridNode implements IGridNode, IPathItem
this.usedChannels = 0;
}
final int idx = this.connections.indexOf( fast );
final int idx = this.connections.indexOf( (IGridConnection) fast );
if( idx > 0 )
{
this.connections.remove( fast );
this.connections.remove( (IGridConnection) fast );
this.connections.add( 0, (IGridConnection) fast );
}
}