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
This commit is contained in:
Gary D. Gregory 2012-10-14 23:23:14 +00:00
parent bdb5842eef
commit 70584f87f5
1 changed files with 3 additions and 3 deletions

View File

@ -343,10 +343,10 @@ public class CSVPrinter {
* @throws IOException * @throws IOException
* If an I/O error occurs * If an I/O error occurs
*/ */
public void print(final Object object) throws IOException { public void print(final Object value) throws IOException {
// null values are considered empty // null values are considered empty
final String value = object == null ? EMPTY : object.toString(); final String strValue = value == null ? EMPTY : value.toString();
print(object, value, 0, value.length()); print(value, strValue, 0, strValue.length());
} }
/** /**