This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 44de36437e2ca89c697e406a4f10cb8ecac5a269 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Mar 17 12:27:19 2020 +0100 Camel-AWS2-CW: Fixed CS --- .../src/main/java/org/apache/camel/component/aws2/cw/Cw2Producer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-aws2-cw/src/main/java/org/apache/camel/component/aws2/cw/Cw2Producer.java b/components/camel-aws2-cw/src/main/java/org/apache/camel/component/aws2/cw/Cw2Producer.java index 5b20130..7c504ed 100644 --- a/components/camel-aws2-cw/src/main/java/org/apache/camel/component/aws2/cw/Cw2Producer.java +++ b/components/camel-aws2-cw/src/main/java/org/apache/camel/component/aws2/cw/Cw2Producer.java @@ -83,7 +83,7 @@ public class Cw2Producer extends DefaultProducer { metricDatum.dimensions(Dimension.builder().name(name).value(value).build()); } else { @SuppressWarnings("unchecked") - Map<String, String> dimensions = exchange.getIn().getHeader(Cw2Constants.METRIC_DIMENSIONS, Map.class); + Map<String, String> dimensions = exchange.getIn().getHeader(Cw2Constants.METRIC_DIMENSIONS, Map.class); if (dimensions != null) { Collection<Dimension> dimensionCollection = new ArrayList<>(); for (Map.Entry<String, String> dimensionEntry : dimensions.entrySet()) {