Convert given Utf8 instance to String and and cleans out any offending "�" from the String. @param utf8 Utf8 object @return string-ifed Utf8 object or null if Utf8 instance is null
(CharSequence utf8)
| 153 | * @return string-ifed Utf8 object or null if Utf8 instance is null |
| 154 | */ |
| 155 | public static String toString(CharSequence utf8) { |
| 156 | return utf8 == null ? null : StringUtil.cleanField(utf8.toString()); |
| 157 | } |
| 158 | |
| 159 | } |
no test coverage detected