You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/05/24 13:04:48 UTC

[commons-text] branch master updated: Remove unused exception.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-text.git


The following commit(s) were added to refs/heads/master by this push:
     new 394f8ad  Remove unused exception.
394f8ad is described below

commit 394f8ad0ad2c319e02856ca546d691334a29af29
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri May 24 09:04:44 2019 -0400

    Remove unused exception.
---
 src/test/java/org/apache/commons/text/AlphabetConverterTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/text/AlphabetConverterTest.java b/src/test/java/org/apache/commons/text/AlphabetConverterTest.java
index 1ce32a7..d4c0cb4 100644
--- a/src/test/java/org/apache/commons/text/AlphabetConverterTest.java
+++ b/src/test/java/org/apache/commons/text/AlphabetConverterTest.java
@@ -112,7 +112,7 @@ public class AlphabetConverterTest {
     }
 
     @Test
-    public void unexpectedEndwhileDecodingTest() throws UnsupportedEncodingException {
+    public void unexpectedEndwhileDecodingTest() {
         final String toDecode = "00d01d0";
         assertThatThrownBy(() -> {
             final AlphabetConverter ac = createJavadocExample();
@@ -122,7 +122,7 @@ public class AlphabetConverterTest {
     }
 
     @Test
-    public void unexpectedStringWhileDecodingTest() throws UnsupportedEncodingException {
+    public void unexpectedStringWhileDecodingTest() {
         final String toDecode = "00XX";
         assertThatThrownBy(() -> {
             final AlphabetConverter ac = createJavadocExample();