Updated Branches: refs/heads/camel-2.11.x dc49b7aaf -> 27fc93a34
CAMEL-7142: Polished the comment. Conflicts: components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/CsvDataFormat.java Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/27fc93a3 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/27fc93a3 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/27fc93a3 Branch: refs/heads/camel-2.11.x Commit: 27fc93a347cc52f10797d464bb9c57d9355f0c77 Parents: dc49b7a Author: Babak Vahdat <bvah...@apache.org> Authored: Sat Jan 18 19:29:41 2014 +0100 Committer: Babak Vahdat <bvah...@apache.org> Committed: Sat Jan 18 19:34:27 2014 +0100 ---------------------------------------------------------------------- .../java/org/apache/camel/dataformat/csv/CsvDataFormat.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/27fc93a3/components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/CsvDataFormat.java ---------------------------------------------------------------------- diff --git a/components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/CsvDataFormat.java b/components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/CsvDataFormat.java index 26a2b0b..003836e 100644 --- a/components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/CsvDataFormat.java +++ b/components/camel-csv/src/main/java/org/apache/camel/dataformat/csv/CsvDataFormat.java @@ -65,9 +65,9 @@ public class CsvDataFormat implements DataFormat { for (Field field : CSVStrategy.class.getFields()) { try { if (field.get(null) == csvStrategy) { - // return a safe copy of the static constant so that we don't cause any side effect - // by the other CsvDataFormat objects in case we would change any property on this - // strategy itself (e.g. it's delimiter through the #unmarshal() method below) + // return a safe copy of the declared constant so that we don't cause any side effect + // by (potentially) other CsvDataFormat objects in use as we change properties of + // the strategy (e.g. it's set delimiter through the #unmarshal() method below) LOGGER.debug("Returning a clone of {} as it is the declared constant {} by the CSVStrategy class", csvStrategy, field.getName()); return (CSVStrategy) csvStrategy.clone();