Author: tn Date: Wed Aug 29 21:18:47 2012 New Revision: 1378740 URL: http://svn.apache.org/viewvc?rev=1378740&view=rev Log: Checkstyle fixes.
Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/BaseNCodecInputStream.java commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/StringUtils.java Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/BaseNCodecInputStream.java URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/BaseNCodecInputStream.java?rev=1378740&r1=1378739&r2=1378740&view=diff ============================================================================== --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/BaseNCodecInputStream.java (original) +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/BaseNCodecInputStream.java Wed Aug 29 21:18:47 2012 @@ -170,7 +170,8 @@ public class BaseNCodecInputStream exten /** * Repositions this stream to the position at the time the mark method was last called on this input stream. - * <p>The {@link #reset} method of {@link BaseNCodecInputStream} does nothing except throw an {@link IOException}.</p> + * <p> + * The {@link #reset} method of {@link BaseNCodecInputStream} does nothing except throw an {@link IOException}. * * @throws IOException if this method is invoked * @since 1.7 Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java?rev=1378740&r1=1378739&r2=1378740&view=diff ============================================================================== --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java (original) +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/Hex.java Wed Aug 29 21:18:47 2012 @@ -55,12 +55,14 @@ public class Hex implements BinaryEncode /** * Used to build output as Hex */ - private static final char[] DIGITS_LOWER = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}; + private static final char[] DIGITS_LOWER = + {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f'}; /** * Used to build output as Hex */ - private static final char[] DIGITS_UPPER = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'}; + private static final char[] DIGITS_UPPER = + {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'}; /** * Converts an array of characters representing hexadecimal values into an array of bytes of those same values. The @@ -293,7 +295,8 @@ public class Hex implements BinaryEncode @Override public Object encode(Object object) throws EncoderException { try { - byte[] byteArray = object instanceof String ? ((String) object).getBytes(this.getCharset()) : (byte[]) object; + byte[] byteArray = object instanceof String ? + ((String) object).getBytes(this.getCharset()) : (byte[]) object; return encodeHex(byteArray); } catch (ClassCastException e) { throw new EncoderException(e.getMessage(), e); Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/StringUtils.java URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/StringUtils.java?rev=1378740&r1=1378739&r2=1378740&view=diff ============================================================================== --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/StringUtils.java (original) +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/binary/StringUtils.java Wed Aug 29 21:18:47 2012 @@ -24,8 +24,9 @@ import org.apache.commons.codec.CharEnco import org.apache.commons.codec.Charsets; /** - * Converts String to and from bytes using the encodings required by the Java specification. These encodings are specified in <a - * href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a> + * Converts String to and from bytes using the encodings required by the Java specification. These encodings are + * specified in <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html"> + * Standard charsets</a>. * * <p>This class is immutable and thread-safe.</p> *