Skip to content

Commit b72dee3

Browse files
committed
Remove unused exceptions.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1744620 13f79535-47bb-0310-9956-ffa450edef68
1 parent 67e19ad commit b72dee3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/org/apache/commons/codec/digest/DigestUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ public String asHex() {
10351035
* @return the updated {@link DigestUtils}
10361036
* @since 1.11
10371037
*/
1038-
public DigestUtils update(final byte[] data) throws IOException {
1038+
public DigestUtils update(final byte[] data) {
10391039
messageDigest.update(data);
10401040
return this;
10411041
}
@@ -1048,7 +1048,7 @@ public DigestUtils update(final byte[] data) throws IOException {
10481048
* @return the updated {@link DigestUtils}
10491049
* @since 1.11
10501050
*/
1051-
public DigestUtils update(final ByteBuffer data) throws IOException {
1051+
public DigestUtils update(final ByteBuffer data) {
10521052
messageDigest.update(data);
10531053
return this;
10541054
}
@@ -1061,7 +1061,7 @@ public DigestUtils update(final ByteBuffer data) throws IOException {
10611061
* @return the updated {@link DigestUtils}
10621062
* @since 1.11
10631063
*/
1064-
public DigestUtils update(final String data) throws IOException {
1064+
public DigestUtils update(final String data) {
10651065
messageDigest.update(StringUtils.getBytesUtf8(data));
10661066
return this;
10671067
}

0 commit comments

Comments
 (0)