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:
parent
bdb5842eef
commit
70584f87f5
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue