Skip to content

Commit 70584f8

Browse files
committed
Fix Javadoc and better lvar name.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1398149 13f79535-47bb-0310-9956-ffa450edef68
1 parent bdb5842 commit 70584f8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,10 +343,10 @@ public void print(Object object, final boolean checkForEscape) throws IOExceptio
343343
* @throws IOException
344344
* If an I/O error occurs
345345
*/
346-
public void print(final Object object) throws IOException {
346+
public void print(final Object value) throws IOException {
347347
// null values are considered empty
348-
final String value = object == null ? EMPTY : object.toString();
349-
print(object, value, 0, value.length());
348+
final String strValue = value == null ? EMPTY : value.toString();
349+
print(value, strValue, 0, strValue.length());
350350
}
351351

352352
/**

0 commit comments

Comments
 (0)