IntentCycleCommand fields not used latch and end. remove them(revise version)
Change-Id: Ia93be6108789e915679e0d2cee25732ed0119377
diff --git a/cli/src/main/java/org/onosproject/cli/net/IntentCycleCommand.java b/cli/src/main/java/org/onosproject/cli/net/IntentCycleCommand.java
index 5911fa8..13a3b7b 100644
--- a/cli/src/main/java/org/onosproject/cli/net/IntentCycleCommand.java
+++ b/cli/src/main/java/org/onosproject/cli/net/IntentCycleCommand.java
@@ -17,7 +17,6 @@
import java.util.EnumSet;
import java.util.List;
-import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicLong;
import org.apache.karaf.shell.commands.Argument;
@@ -75,8 +74,7 @@
String keyOffsetStr = null;
private IntentService service;
- private CountDownLatch latch;
- private volatile long start, end;
+ private volatile long start;
private int count;
private int keyOffset;
private long submitCounter = 0;
@@ -154,10 +152,7 @@
}
private void printResults() {
- //long delta = end - start;
- //String text = add ? "install" : "withdraw";
print("count: %s / %s", eventCounter, Long.valueOf(submitCounter));
- //print("Time to %s %d intents: %d ms", text, count, delta);
}
/**