Author: ggregory Date: Thu May 19 19:07:23 2016 New Revision: 1744620 URL: http://svn.apache.org/viewvc?rev=1744620&view=rev Log: Remove unused exceptions.
Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java Modified: commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java URL: http://svn.apache.org/viewvc/commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java?rev=1744620&r1=1744619&r2=1744620&view=diff ============================================================================== --- commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java (original) +++ commons/proper/codec/trunk/src/main/java/org/apache/commons/codec/digest/DigestUtils.java Thu May 19 19:07:23 2016 @@ -1035,7 +1035,7 @@ public static byte[] sha(final byte[] da * @return the updated {@link DigestUtils} * @since 1.11 */ - public DigestUtils update(final byte[] data) throws IOException { + public DigestUtils update(final byte[] data) { messageDigest.update(data); return this; } @@ -1048,7 +1048,7 @@ public static byte[] sha(final byte[] da * @return the updated {@link DigestUtils} * @since 1.11 */ - public DigestUtils update(final ByteBuffer data) throws IOException { + public DigestUtils update(final ByteBuffer data) { messageDigest.update(data); return this; } @@ -1061,7 +1061,7 @@ public static byte[] sha(final byte[] da * @return the updated {@link DigestUtils} * @since 1.11 */ - public DigestUtils update(final String data) throws IOException { + public DigestUtils update(final String data) { messageDigest.update(StringUtils.getBytesUtf8(data)); return this; }