remove the dependency on apache StringUtils use the native TextUtils instead