remove dead code pointed out by sonar
[transportpce.git] / pce / src / main / java / org / opendaylight / transportpce / pce / PceConstraintsCalc.java
index 97beb039fe04bca57663aff48eaf90f1037b4046..584832acca93956fe1516f49ff9953917ad7b6e4 100644 (file)
@@ -10,7 +10,6 @@ package org.opendaylight.transportpce.pce;
 import com.google.common.base.Optional;
 import java.util.ArrayList;
 import java.util.List;
-//import java.util.Optional;
 import java.util.concurrent.ExecutionException;
 import java.util.concurrent.TimeUnit;
 import java.util.concurrent.TimeoutException;
@@ -208,8 +207,6 @@ public class PceConstraintsCalc {
                     result = Optional.of(path);
                 }
             }
-//            return pathDescReadTx.read(LogicalDatastoreType.CONFIGURATION, pathDescriptionIID)
-//                    .get(Timeouts.DATASTORE_READ, TimeUnit.MILLISECONDS);
         } catch (InterruptedException | ExecutionException | TimeoutException e) {
             LOG.warn(
                 "PCE diversity constraints: Exception while getting path description from datastore {} for service {}!",