This is an automated email from the ASF dual-hosted git repository. pascalschumacher pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 75a1fec BindyCsvFactory#product: Remove dead code. 75a1fec is described below commit 75a1fecb87c2ddbc6365b2ac6688fdaf19331e9f Author: Pascal Schumacher <pascalschumac...@gmx.net> AuthorDate: Fri Dec 20 15:07:22 2019 +0100 BindyCsvFactory#product: Remove dead code. --- .../main/java/org/apache/camel/dataformat/bindy/BindyCsvFactory.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyCsvFactory.java b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyCsvFactory.java index 1d7f27a..d559ba3 100644 --- a/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyCsvFactory.java +++ b/components/camel-bindy/src/main/java/org/apache/camel/dataformat/bindy/BindyCsvFactory.java @@ -399,7 +399,6 @@ public class BindyCsvFactory extends BindyAbstractFactory implements BindyFactor TreeMap<Integer, List<String>> sortValues = new TreeMap<>(values); List<List<String>> product = new ArrayList<>(); - Map<Integer, Integer> index = new HashMap<>(); int idx = 0; int idxSize = 0; @@ -417,13 +416,11 @@ public class BindyCsvFactory extends BindyAbstractFactory implements BindyFactor if (l.size() >= idx + 1) { v.add(l.get(idx)); - index.put(ii, idx); if (LOG.isDebugEnabled()) { LOG.debug("Value: {}, pos: {}, at: {}", l.get(idx), ii, idx); } } else { v.add(l.get(0)); - index.put(ii, 0); ++idxSize; if (LOG.isDebugEnabled()) { LOG.debug("Value: {}, pos: {}, at index: {}", l.get(0), ii, 0);