Skip to content

Commit b53a171

Browse files
committed
Format lines that are longer than 120 characters
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1458805 13f79535-47bb-0310-9956-ffa450edef68
1 parent 20fe471 commit b53a171

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ public void printComment(final String comment) throws IOException {
152152
println();
153153
}
154154

155-
private void print(final Object object, final CharSequence value, final int offset, final int len) throws IOException {
155+
private void print(final Object object, final CharSequence value,
156+
final int offset, final int len) throws IOException {
156157
if (format.isQuoting()) {
157158
printAndQuote(object, value, offset, len);
158159
} else if (format.isEscaping()) {
@@ -215,7 +216,8 @@ void printAndEscape(final CharSequence value, final int offset, final int len) t
215216
/*
216217
* Note: must only be called if quoting is enabled, otherwise will generate NPE
217218
*/
218-
void printAndQuote(final Object object, final CharSequence value, final int offset, final int len) throws IOException {
219+
void printAndQuote(final Object object, final CharSequence value,
220+
final int offset, final int len) throws IOException {
219221
final boolean first = newLine; // is this the first value on this line?
220222
boolean quote = false;
221223
int start = offset;

0 commit comments

Comments
 (0)