File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/csv Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,19 +100,6 @@ public class CSVFormat implements Serializable {
100100
101101 private static final long serialVersionUID = 1L ;
102102
103- /**
104- * Returns true if the given character is a line break character.
105- *
106- * @param c
107- * the character to check, may be null
108- *
109- * @return true if <code>c</code> is a line break character (and not null)
110- */
111- // package protected to give access without needing a synthetic accessor
112- static boolean isLineBreak (final Character c ) {
113- return c != null && isLineBreak (c .charValue ());
114- }
115-
116103 private final char delimiter ;
117104 private final Character quoteChar ; // null if quoting is disabled
118105 private final Quote quotePolicy ;
@@ -205,6 +192,19 @@ static boolean isLineBreak(final char c) {
205192 return c == LF || c == CR ;
206193 }
207194
195+ /**
196+ * Returns true if the given character is a line break character.
197+ *
198+ * @param c
199+ * the character to check, may be null
200+ *
201+ * @return true if <code>c</code> is a line break character (and not null)
202+ */
203+ // package protected to give access without needing a synthetic accessor
204+ static boolean isLineBreak (final Character c ) {
205+ return c != null && isLineBreak (c .charValue ());
206+ }
207+
208208 /**
209209 * Creates a new CSV format with the specified delimiter.
210210 *
You can’t perform that action at this time.
0 commit comments