diff --git a/example/src/main/java/example/ExampleCsvReaderWithSpecialQuotedFieldHandling.java b/example/src/main/java/example/ExampleCsvReaderWithSpecialQuotedFieldHandling.java index f05904dc..9b808b06 100644 --- a/example/src/main/java/example/ExampleCsvReaderWithSpecialQuotedFieldHandling.java +++ b/example/src/main/java/example/ExampleCsvReaderWithSpecialQuotedFieldHandling.java @@ -16,7 +16,7 @@ public class ExampleCsvReaderWithSpecialQuotedFieldHandling { "quoted foo",unquoted foo """; - public static void main(String[] args) { + public static void main(final String[] args) { CsvReader.builder() .skipEmptyLines(false) .build(new QuotableFieldHandler(), DATA) @@ -28,7 +28,9 @@ static class QuotableFieldHandler extends AbstractBaseCsvCallbackHandler fields = new ArrayList<>(); @Override - protected void handleField(final int fieldIdx, final char[] buf, final int offset, final int len, final boolean quoted) { + protected void handleField(final int fieldIdx, + final char[] buf, final int offset, final int len, + final boolean quoted) { final String value = new String(buf, offset, len); fields.add(new QuotableField(value, quoted)); }