@@ -171,7 +171,7 @@ public synchronized void print(final Object value) throws IOException {
171171 }
172172
173173 /**
174- * Prints a comment on a new line among the delimiter separated values.
174+ * Prints a comment on a new line among the delimiter- separated values.
175175 *
176176 * <p>
177177 * Comments will always begin on a new line and occupy at least one full line. The character specified to start
@@ -184,7 +184,7 @@ public synchronized void print(final Object value) throws IOException {
184184 *
185185 * <p>This method detects line breaks inside the comment string and inserts {@link CSVFormat#getRecordSeparator()}
186186 * to start a new line of the comment. Note that this might produce unexpected results for formats that do not use
187- * line breaks as record separator .</p>
187+ * line breaks as record separators .</p>
188188 *
189189 * @param comment
190190 * the comment to output
@@ -224,7 +224,7 @@ public synchronized void printComment(final String comment) throws IOException {
224224 /**
225225 * Prints headers for a result set based on its metadata.
226226 *
227- * @param resultSet The result set to query for metadata.
227+ * @param resultSet The ResultSet to query for metadata.
228228 * @throws IOException If an I/O error occurs.
229229 * @throws SQLException If a database access error occurs or this method is called on a closed result set.
230230 * @since 1.9.0
@@ -245,7 +245,7 @@ public synchronized void println() throws IOException {
245245 }
246246
247247 /**
248- * Prints the given values as a single record of delimiter separated values followed by the record separator.
248+ * Prints the given values as a single record of delimiter- separated values followed by the record separator.
249249 *
250250 * <p>
251251 * The values will be quoted if needed. Quotes and newLine characters will be escaped. This method adds the record
@@ -265,7 +265,7 @@ public synchronized void printRecord(final Iterable<?> values) throws IOExceptio
265265 }
266266
267267 /**
268- * Prints the given values as a single record of delimiter separated values followed by the record separator.
268+ * Prints the given values as a single record of delimiter- separated values followed by the record separator.
269269 *
270270 * <p>
271271 * The values will be quoted if needed. Quotes and newLine characters will be escaped. This method adds the record
@@ -282,7 +282,7 @@ public void printRecord(final Object... values) throws IOException {
282282 }
283283
284284 /**
285- * Prints the given values as a single record of delimiter separated values followed by the record separator.
285+ * Prints the given values as a single record of delimiter- separated values followed by the record separator.
286286 *
287287 * <p>
288288 * The values will be quoted if needed. Quotes and newLine characters will be escaped. This method adds the record
@@ -366,7 +366,7 @@ public void printRecords(final Iterable<?> values) throws IOException {
366366 *
367367 * <p>
368368 * If the given array only contains simple objects, this method will print a single record like
369- * {@link #printRecord(Object...)}. If the given collections contains nested collections/ arrays those nested
369+ * {@link #printRecord(Object...)}. If the given collections contain nested collections or arrays, those nested
370370 * elements will each be printed as records using {@link #printRecord(Object...)}.
371371 * </p>
372372 *
@@ -408,11 +408,11 @@ public void printRecords(final Object... values) throws IOException {
408408 * Prints all the objects in the given JDBC result set.
409409 *
410410 * @param resultSet
411- * result set the values to print.
411+ * The values to print.
412412 * @throws IOException
413- * If an I/O error occurs
413+ * If an I/O error occurs.
414414 * @throws SQLException
415- * if a database access error occurs
415+ * Thrown when a database access error occurs.
416416 */
417417 public void printRecords (final ResultSet resultSet ) throws SQLException , IOException {
418418 final int columnCount = resultSet .getMetaData ().getColumnCount ();
0 commit comments