Introduction
Here is the source code for Main.java
Source
//package com.java2s;
public class Main {
public static String nullStrToEmpty(final Object o) {
if (o == null) {
return "";
}
if (o instanceof String) {
return (String) o;
}
return o.toString();
}
}