Skip to content

Commit 675d057

Browse files
committed
Not thrown
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1090205 13f79535-47bb-0310-9956-ffa450edef68
1 parent e9786fc commit 675d057

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/test/java/org/apache/commons/io/input/XmlStreamReaderUtilitiesTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ protected void setUp() {
4444
}
4545

4646
/** Test for {@link XmlStreamReader#getContentTypeEncoding(String)}. */
47-
public void testContentTypeEncoding() throws IOException {
47+
public void testContentTypeEncoding() {
4848
checkContentTypeEncoding(null, null);
4949
checkContentTypeEncoding(null, "");
5050
checkContentTypeEncoding(null, "application/xml");
@@ -62,7 +62,7 @@ private void checkContentTypeEncoding(String expected, String httpContentType) {
6262
}
6363

6464
/** Test for {@link XmlStreamReader#getContentTypeEncoding(String)}. */
65-
public void testContentTypeMime() throws IOException {
65+
public void testContentTypeMime() {
6666
checkContentTypeMime(null, null);
6767
checkContentTypeMime("", "");
6868
checkContentTypeMime("application/xml", "application/xml");
@@ -74,7 +74,7 @@ private void checkContentTypeMime(String expected, String httpContentType) {
7474
}
7575

7676
/** Test for {@link XmlStreamReader#isAppXml(String)}. */
77-
public void testAppXml() throws IOException {
77+
public void testAppXml() {
7878
checkAppXml(false, null);
7979
checkAppXml(false, "");
8080
checkAppXml(true, "application/xml");
@@ -93,7 +93,7 @@ private void checkAppXml(boolean expected, String mime) {
9393
}
9494

9595
/** Test for {@link XmlStreamReader#isTextXml(String)}. */
96-
public void testTextXml() throws IOException {
96+
public void testTextXml() {
9797
checkTextXml(false, null);
9898
checkTextXml(false, "");
9999
checkTextXml(true, "text/xml");

0 commit comments

Comments
 (0)