Fixed typo and a compiler warning
This commit is contained in:
parent
0f8c1be142
commit
48634e3d30
@ -32,6 +32,7 @@ package org.jboss.netty.util.internal;
|
||||
public class StringUtil {
|
||||
|
||||
private StringUtil() {
|
||||
// Unused.
|
||||
}
|
||||
|
||||
/**
|
||||
@ -43,7 +44,7 @@ public class StringUtil {
|
||||
* @return {@code String}
|
||||
* A new String instance with its hexadecimal control characters replaced
|
||||
* by a space. Or the unmodified String if it does not contain any ISO
|
||||
* controll characters.
|
||||
* control characters.
|
||||
*/
|
||||
public static String stripControlCharacters(Object value) {
|
||||
if (value == null) {
|
||||
@ -61,7 +62,7 @@ public class StringUtil {
|
||||
* @return {@code String}
|
||||
* A new String instance with its hexadecimal control characters replaced
|
||||
* by a space. Or the unmodified String if it does not contain any ISO
|
||||
* controll characters.
|
||||
* control characters.
|
||||
*/
|
||||
public static String stripControlCharacters(String value) {
|
||||
if (value == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user