Adapt code to support the new version of GNPy
[transportpce.git] / pce / src / main / java / org / opendaylight / transportpce / pce / networkanalyzer / PceResult.java
index d3139777564c600c498e36715acf630f6591052f..ce8bb6b230322fb661bfa07927f75fa2aeaec342 100644 (file)
@@ -125,12 +125,7 @@ public class PceResult {
     }
 
     public void setLocalCause(LocalCause lc) {
-        // For now keep the very first fatal problem
-        // TODO. Later this value might become history of algo if all
-        // significant problems are added here as to List
-        if (localCause == LocalCause.NONE) {
-            this.localCause = lc;
-        }
+        this.localCause = lc;
     }
 
     public void setCalcMessage(String calcMessage) {