fix tt command cost less than 0. #746

pull/758/head
hengyunabc 6 years ago
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);

Loading…
Cancel
Save