Explorar el Código

add todo for exception fix

Eren Yilmaz hace 7 años
padre
commit
1ace4dfc9e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/bk/ConflictDetection.java

+ 1 - 1
src/bk/ConflictDetection.java

@@ -27,7 +27,7 @@ public class ConflictDetection implements AlgorithmStage {
     public StageStatus forwardStep() {
     	int oldI = i;
     	int oldL1 = l1;
-    	LayeredGraphNode curr = graph.getContainedLayers().get( i + 1 ).get( l1 );
+    	LayeredGraphNode curr = graph.getContainedLayers().get( i + 1 ).get( l1 ); // TODO: fix IndexOutOfBoundsException
     	curr.setSelected( null );
     	ArrayList< LayeredGraphEdge > edges = curr.getIncomingEdges();
     	LayeredGraphEdge dummyEdge = null;