Use StringUtils.toString() convenience method
This commit is contained in:
parent
4eb6eb6eda
commit
ea723413cb
@ -51,6 +51,7 @@ import com.google.refine.expr.ExpressionUtils;
|
||||
import com.google.refine.expr.HasFields;
|
||||
import com.google.refine.util.ParsingUtilities;
|
||||
import com.google.refine.util.Pool;
|
||||
import com.google.refine.util.StringUtils;
|
||||
|
||||
public class Cell implements HasFields, Jsonizable {
|
||||
final public Serializable value;
|
||||
@ -193,10 +194,6 @@ public class Cell implements HasFields, Jsonizable {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
if (value != null){
|
||||
return value.toString();
|
||||
} else {
|
||||
return "null";
|
||||
}
|
||||
return StringUtils.toString(value);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user