mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
polish #614
This commit is contained in:
@@ -607,12 +607,10 @@ public class ProcessImpl implements Process {
|
||||
if (statisticsHandler != null && flushHandlerChain != null) {
|
||||
String data = statisticsHandler.result();
|
||||
|
||||
if (flushHandlerChain != null) {
|
||||
for (Function<String, String> function : flushHandlerChain) {
|
||||
data = function.apply(data);
|
||||
if (function instanceof StatisticsFunction) {
|
||||
data = ((StatisticsFunction) function).result();
|
||||
}
|
||||
for (Function<String, String> function : flushHandlerChain) {
|
||||
data = function.apply(data);
|
||||
if (function instanceof StatisticsFunction) {
|
||||
data = ((StatisticsFunction) function).result();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user