diff --git a/src/main/java/org/jboss/netty/util/internal/StringUtil.java b/src/main/java/org/jboss/netty/util/internal/StringUtil.java index 0d76039013..c50d0a4c8e 100644 --- a/src/main/java/org/jboss/netty/util/internal/StringUtil.java +++ b/src/main/java/org/jboss/netty/util/internal/StringUtil.java @@ -24,26 +24,27 @@ package org.jboss.netty.util.internal; /** * String utility class. - * + * * @author The Netty Project (netty-dev@lists.jboss.org) * @author Trustin Lee (tlee@redhat.com) * @version $Rev$, $Date$ */ public class StringUtil { - + private StringUtil() { + // Unused. } - + /** - * Strip an Object of it's ISO control characters. - * - * @param value + * Strip an Object of it's ISO control characters. + * + * @param value * The Object that should be stripped. This objects toString method will * called and the result passed to {@link #stripControlCharacters(String)}. * @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. + * A new String instance with its hexadecimal control characters replaced + * by a space. Or the unmodified String if it does not contain any ISO + * control characters. */ public static String stripControlCharacters(Object value) { if (value == null) { @@ -54,14 +55,14 @@ public class StringUtil { } /** - * Strip a String of it's ISO control characters. - * - * @param value - * The String that should be stripped. + * Strip a String of it's ISO control characters. + * + * @param value + * The String that should be stripped. * @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. + * A new String instance with its hexadecimal control characters replaced + * by a space. Or the unmodified String if it does not contain any ISO + * control characters. */ public static String stripControlCharacters(String value) { if (value == null) {