Java tutorial
//package com.java2s; public class Main { protected static String toString(CharSequence cs) { return cs == null ? null : cs.toString(); } }