fix tt command cost less than 0. #746

This commit is contained in:
hengyunabc
2019-06-26 23:35:09 +08:00
parent a5efe2546e
commit 4edacab7c5
@@ -57,9 +57,6 @@ public class TimeTunnelAdviceListener extends ReflectAdviceListenerAdapter {
double cost = threadLocalWatch.costInMillis();
TimeFragment timeTunnel = new TimeFragment(advice, new Date(), cost);
// reset the timestamp
threadLocalWatch.clear();
boolean match = false;
try {
match = isConditionMet(command.getConditionExpress(), advice, cost);