Fixed typo and a compiler warning

This commit is contained in:
Trustin Lee 2009-06-18 07:30:26 +00:00
parent 0f8c1be142
commit 48634e3d30

View File

@ -32,6 +32,7 @@ package org.jboss.netty.util.internal;
public class StringUtil { public class StringUtil {
private StringUtil() { private StringUtil() {
// Unused.
} }
/** /**
@ -43,7 +44,7 @@ public class StringUtil {
* @return {@code String} * @return {@code String}
* A new String instance with its hexadecimal control characters replaced * A new String instance with its hexadecimal control characters replaced
* by a space. Or the unmodified String if it does not contain any ISO * by a space. Or the unmodified String if it does not contain any ISO
* controll characters. * control characters.
*/ */
public static String stripControlCharacters(Object value) { public static String stripControlCharacters(Object value) {
if (value == null) { if (value == null) {
@ -61,7 +62,7 @@ public class StringUtil {
* @return {@code String} * @return {@code String}
* A new String instance with its hexadecimal control characters replaced * A new String instance with its hexadecimal control characters replaced
* by a space. Or the unmodified String if it does not contain any ISO * by a space. Or the unmodified String if it does not contain any ISO
* controll characters. * control characters.
*/ */
public static String stripControlCharacters(String value) { public static String stripControlCharacters(String value) {
if (value == null) { if (value == null) {