Skip to content

Commit 224d307

Browse files
committed
[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
1 parent cd8799e commit 224d307

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/changes/changes.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
<body>
4141
<release version="1.1.1" date="20??-MM-DD" description="Feature and bug fix release">
4242
<action issue="CSV-145" type="fix" dev="ggregory" due-to="Frank Ulbricht">CSVFormat.with* methods clear the header comments</action>
43+
<action issue="CSV-156" type="fix" dev="ggregory" due-to="Jason Steenstra-Pickens">Incorrect Javadoc on QuoteMode.NONE</action>
4344
</release>
4445
<release version="1.1" date="2014-11-16" description="Feature and bug fix release">
4546
<action issue="CSV-140" type="fix" dev="ggregory" due-to="Damjan Jovanovic">QuoteMode.NON_NUMERIC doesn't work with CSVPrinter.printRecords(ResultSet)</action>

src/main/java/org/apache/commons/csv/QuoteMode.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ public enum QuoteMode {
4040
NON_NUMERIC,
4141

4242
/**
43-
* Never quotes fields. When the delimiter occurs in data, it is preceded by the current escape character. If the
44-
* escape character is not set, printing will throw an exception if any characters that require escaping are
45-
* encountered.
43+
* Never quotes fields. When the delimiter occurs in data, the printer prefixes it with the current escape
44+
* character. If the escape character is not set, format validation throws an exception.
4645
*/
4746
NONE
4847
}

0 commit comments

Comments
 (0)