From 224d30746c2b28921e495f0c824eb0cf92416409 Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Mon, 10 Aug 2015 07:05:58 +0000 Subject: [PATCH] [CSV-156] Incorrect Javadoc on QuoteMode.NONE. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1694977 13f79535-47bb-0310-9956-ffa450edef68 --- src/changes/changes.xml | 1 + src/main/java/org/apache/commons/csv/QuoteMode.java | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/changes/changes.xml b/src/changes/changes.xml index 7e488fc0..d1b7d9ef 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -40,6 +40,7 @@ CSVFormat.with* methods clear the header comments + Incorrect Javadoc on QuoteMode.NONE QuoteMode.NON_NUMERIC doesn't work with CSVPrinter.printRecords(ResultSet) diff --git a/src/main/java/org/apache/commons/csv/QuoteMode.java b/src/main/java/org/apache/commons/csv/QuoteMode.java index 982a341c..b0a31c23 100644 --- a/src/main/java/org/apache/commons/csv/QuoteMode.java +++ b/src/main/java/org/apache/commons/csv/QuoteMode.java @@ -40,9 +40,8 @@ public enum QuoteMode { NON_NUMERIC, /** - * Never quotes fields. When the delimiter occurs in data, it is preceded by the current escape character. If the - * escape character is not set, printing will throw an exception if any characters that require escaping are - * encountered. + * Never quotes fields. When the delimiter occurs in data, the printer prefixes it with the current escape + * character. If the escape character is not set, format validation throws an exception. */ NONE }