This is an automated email from the ASF dual-hosted git repository. aldettinger 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 32c76c5 CAMEL-11595: Fixed javadoc and removed references to deprecated wording "FixedWidthFieldLengths" 32c76c5 is described below commit 32c76c57c645f6755f06127eb7f89a41ff348c76 Author: aldettinger <aldettin...@gmail.com> AuthorDate: Mon Jun 11 21:59:09 2018 +0200 CAMEL-11595: Fixed javadoc and removed references to deprecated wording "FixedWidthFieldLengths" --- .../dataformat/univocity/AbstractUniVocityDataFormat.java | 4 ++-- .../univocity/UniVocityFixedWidthDataFormat.java | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/AbstractUniVocityDataFormat.java b/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/AbstractUniVocityDataFormat.java index 8a7c4fa..3266cd6 100644 --- a/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/AbstractUniVocityDataFormat.java +++ b/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/AbstractUniVocityDataFormat.java @@ -70,7 +70,7 @@ public abstract class AbstractUniVocityDataFormat<F extends Format, CWS extends private volatile Marshaller<W> marshaller; // We're using a ThreadLocal for the parser settings because in order to retrieve the headers we need to change the - // settings each time we're parsing... + // settings each time we're parsing private volatile ThreadLocal<CPS> parserSettings; private final Object parserSettingsToken = new Object(); private volatile Unmarshaller<P> unmarshaller; @@ -312,7 +312,7 @@ public abstract class AbstractUniVocityDataFormat<F extends Format, CWS extends * * @param numberOfRecordsToRead the number of records to read * @return current data format instance, fluent API - * @see com.univocity.parsers.common.CommonParserSettings#setNumberOfRecordsToRead(int) + * @see com.univocity.parsers.common.CommonParserSettings#setNumberOfRecordsToRead(long) */ public DF setNumberOfRecordsToRead(Integer numberOfRecordsToRead) { this.numberOfRecordsToRead = numberOfRecordsToRead; diff --git a/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/UniVocityFixedWidthDataFormat.java b/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/UniVocityFixedWidthDataFormat.java index 1f4a028..4614d04 100644 --- a/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/UniVocityFixedWidthDataFormat.java +++ b/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/UniVocityFixedWidthDataFormat.java @@ -38,7 +38,7 @@ public class UniVocityFixedWidthDataFormat extends AbstractUniVocityDataFormat<F /** * Gets the field lengths. - * It's used to construct uniVocity {@link com.univocity.parsers.fixed.FixedWidthFieldLengths} instance. + * It's used to construct uniVocity {@link com.univocity.parsers.fixed.FixedWidthFields} instance. * * @return the field lengths */ @@ -48,7 +48,7 @@ public class UniVocityFixedWidthDataFormat extends AbstractUniVocityDataFormat<F /** * Sets the field lengths - * It's used to construct uniVocity {@link com.univocity.parsers.fixed.FixedWidthFieldLengths} instance. + * It's used to construct uniVocity {@link com.univocity.parsers.fixed.FixedWidthFields} instance. * * @param fieldLengths the field length * @return current data format instance, fluent API @@ -131,7 +131,7 @@ public class UniVocityFixedWidthDataFormat extends AbstractUniVocityDataFormat<F */ @Override protected FixedWidthWriterSettings createWriterSettings() { - return new FixedWidthWriterSettings(createFixedWidthFieldLengths()); + return new FixedWidthWriterSettings(createFixedWidthFields()); } /** @@ -147,7 +147,7 @@ public class UniVocityFixedWidthDataFormat extends AbstractUniVocityDataFormat<F */ @Override protected FixedWidthParserSettings createParserSettings() { - return new FixedWidthParserSettings(createFixedWidthFieldLengths()); + return new FixedWidthParserSettings(createFixedWidthFields()); } @Override @@ -183,12 +183,12 @@ public class UniVocityFixedWidthDataFormat extends AbstractUniVocityDataFormat<F } /** - * Creates the {@link com.univocity.parsers.fixed.FixedWidthFieldLengths} instance based on the headers and field + * Creates the {@link com.univocity.parsers.fixed.FixedWidthFields} instance based on the headers and field * lengths. * - * @return new {@code FixedWidthFieldLengths} based on the header and field lengthsl + * @return new {@code FixedWidthFields} based on the header and field lengths. */ - private FixedWidthFields createFixedWidthFieldLengths() { + private FixedWidthFields createFixedWidthFields() { // Ensure that the field lengths have been defined. if (fieldLengths == null) { throw new IllegalArgumentException("The fieldLengths must have been defined in order to use the fixed-width format."); -- To stop receiving notification emails like this one, please contact aldettin...@apache.org.