@@ -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