Skip to content

Commit 9631efe

Browse files
committed
Methods are no longer used in test code. Make them private.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1512610 13f79535-47bb-0310-9956-ffa450edef68
1 parent 15b4e3f commit 9631efe

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,7 @@ public class CSVFormat implements Serializable {
187187
*
188188
* @return true if <code>c</code> is a line break character
189189
*/
190-
// package protected to give access without needing a synthetic accessor
191-
static boolean isLineBreak(final char c) {
190+
private static boolean isLineBreak(final char c) {
192191
return c == LF || c == CR;
193192
}
194193

@@ -200,8 +199,7 @@ static boolean isLineBreak(final char c) {
200199
*
201200
* @return true if <code>c</code> is a line break character (and not null)
202201
*/
203-
// package protected to give access without needing a synthetic accessor
204-
static boolean isLineBreak(final Character c) {
202+
private static boolean isLineBreak(final Character c) {
205203
return c != null && isLineBreak(c.charValue());
206204
}
207205

0 commit comments

Comments
 (0)