Skip to content

Commit 1e2092e

Browse files
committed
remove dead allocation of unused thunk
1 parent d85daae commit 1e2092e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

hystrix-core/src/main/java/com/netflix/hystrix/HystrixCommandMetrics.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,6 @@ public static Collection<HystrixCommandMetrics> getInstances() {
189189
this.threadPoolKey = threadPoolKey;
190190
this.properties = properties;
191191

192-
Func0<Integer> concurrentExecutionThunk = new Func0<Integer>() {
193-
@Override
194-
public Integer call() {
195-
return HystrixCommandMetrics.getInstance(key).concurrentExecutionCount.get();
196-
}
197-
};
198-
199192
healthCountsStream = HealthCountsStream.getInstance(key, properties);
200193
rollingCommandEventCounterStream = RollingCommandEventCounterStream.getInstance(key, properties);
201194
cumulativeCommandEventCounterStream = CumulativeCommandEventCounterStream.getInstance(key, properties);

0 commit comments

Comments
 (0)