You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by et...@apache.org on 2021/09/22 19:47:35 UTC
[storm] 02/02: [STORM-3785] Follow up: fix the checkstyle issue
(#3412)
This is an automated email from the ASF dual-hosted git repository.
ethanli pushed a commit to branch 2.2.x-branch
in repository https://gitbox.apache.org/repos/asf/storm.git
commit e95af5a967c75ac8c102752d9d6100853d3ace3b
Author: Rui Li <ru...@verizonmedia.com>
AuthorDate: Wed Sep 22 14:26:05 2021 -0500
[STORM-3785] Follow up: fix the checkstyle issue (#3412)
---
storm-client/src/jvm/org/apache/storm/executor/Executor.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/storm-client/src/jvm/org/apache/storm/executor/Executor.java b/storm-client/src/jvm/org/apache/storm/executor/Executor.java
index 2248c4b..6fe2806 100644
--- a/storm-client/src/jvm/org/apache/storm/executor/Executor.java
+++ b/storm-client/src/jvm/org/apache/storm/executor/Executor.java
@@ -409,7 +409,8 @@ public abstract class Executor implements Callable, JCQueue.Consumer {
addConvertedMetric(baseName, ".p999", snapshot.get999thPercentile(), dataPoints, true);
}
- private void addConvertedMetric(String baseName, String suffix, double value, List<IMetricsConsumer.DataPoint> dataPoints, boolean needConversion) {
+ private void addConvertedMetric(String baseName, String suffix, double value,
+ List<IMetricsConsumer.DataPoint> dataPoints, boolean needConversion) {
IMetricsConsumer.DataPoint dataPoint
= new IMetricsConsumer.DataPoint(baseName + suffix, needConversion ? convertDuration(value) : value);
dataPoints.add(dataPoint);