Skip to content

Commit 8a8218a

Browse files
committed
JavaDoc: clarify rules for control characters
1 parent 41ff7ef commit 8a8218a

File tree

1 file changed

+9
-3
lines changed
  • junit-jupiter-params/src/main/java/org/junit/jupiter/params/provider

1 file changed

+9
-3
lines changed

junit-jupiter-params/src/main/java/org/junit/jupiter/params/provider/CsvSource.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,15 @@
6363
* physical line within the text block. Thus, if a CSV column wraps across a
6464
* new line in a text block, the column must be a quoted string.
6565
*
66-
* <p>Note that {@link #delimiter} (or {@link #delimiterString}), {@link #quoteCharacter},
67-
* and {@link #commentCharacter} (when {@link #textBlock} is used) are treated
68-
* as <em>control characters</em> and must all be distinct.
66+
* <p>Note that {@link #delimiter} (or {@link #delimiterString}),
67+
* {@link #quoteCharacter}, and {@link #commentCharacter} (when
68+
* {@link #textBlock} is used) are treated as <em>control characters</em>.
69+
*
70+
* <ul>
71+
* <li>{@link #delimiter} and {@link #quoteCharacter} must always be distinct.</li>
72+
* <li>{@link #commentCharacter} must be distinct from the others only when
73+
* {@link #textBlock} is used.</li>
74+
* </ul>
6975
*
7076
* <h2>Inheritance</h2>
7177
*

0 commit comments

Comments
 (0)