@@ -152,7 +152,7 @@ public void printComment(final String comment) throws IOException {
152152 println ();
153153 }
154154
155- private void print (Object object , final CharSequence value , final int offset , final int len ) throws IOException {
155+ private void print (final Object object , final CharSequence value , final int offset , final int len ) throws IOException {
156156 if (format .isQuoting ()) {
157157 printAndQuote (object , value , offset , len );
158158 } else if (format .isEscaping ()) {
@@ -215,7 +215,7 @@ void printAndEscape(final CharSequence value, final int offset, final int len) t
215215 /*
216216 * Note: must only be called if quoting is enabled, otherwise will generate NPE
217217 */
218- void printAndQuote (Object object , final CharSequence value , final int offset , final int len ) throws IOException {
218+ void printAndQuote (final Object object , final CharSequence value , final int offset , final int len ) throws IOException {
219219 final boolean first = newLine ; // is this the first value on this line?
220220 boolean quote = false ;
221221 int start = offset ;
@@ -344,8 +344,8 @@ public void print(final Object value) throws IOException {
344344 * @throws IOException
345345 * If an I/O error occurs
346346 */
347- public void printRecords (Object [] values ) throws IOException {
348- for (Object value : values ) {
347+ public void printRecords (final Object [] values ) throws IOException {
348+ for (final Object value : values ) {
349349 if (value instanceof Object []) {
350350 this .printRecord ((Object []) value );
351351 } else if (value instanceof Iterable ) {
@@ -364,8 +364,8 @@ public void printRecords(Object[] values) throws IOException {
364364 * @throws IOException
365365 * If an I/O error occurs
366366 */
367- public void printRecords (Iterable <?> values ) throws IOException {
368- for (Object value : values ) {
367+ public void printRecords (final Iterable <?> values ) throws IOException {
368+ for (final Object value : values ) {
369369 if (value instanceof Object []) {
370370 this .printRecord ((Object []) value );
371371 } else if (value instanceof Iterable ) {
@@ -384,8 +384,8 @@ public void printRecords(Iterable<?> values) throws IOException {
384384 * @throws IOException
385385 * If an I/O error occurs
386386 */
387- public void printRecords (ResultSet resultSet ) throws SQLException , IOException {
388- int columnCount = resultSet .getMetaData ().getColumnCount ();
387+ public void printRecords (final ResultSet resultSet ) throws SQLException , IOException {
388+ final int columnCount = resultSet .getMetaData ().getColumnCount ();
389389 while (resultSet .next ()) {
390390 for (int i = 1 ; i <= columnCount ; i ++) {
391391 print (resultSet .getString (i ));
0 commit comments