Here you can find the source of objToStrNotNull(Object obj)
public static final String objToStrNotNull(Object obj)
//package com.java2s; public class Main { public static final String objToStrNotNull(Object obj) { String s = (obj == null) ? "" : obj.toString(); return s; }/* w w w . j av a 2s . c om*/ }