@@ -46,7 +46,7 @@ public void testClose() throws IOException {
4646 }
4747
4848 /** Test {@link Reader#markSupported()}. */
49- public void testMarkSupported () throws IOException {
49+ public void testMarkSupported () {
5050 Reader reader = new CharSequenceReader ("FooBar" );
5151 assertTrue (reader .markSupported ());
5252 }
@@ -65,7 +65,7 @@ public void testMark() throws IOException {
6565 checkRead (reader , "Foo" );
6666 }
6767
68- /** Test {@link Reader#skip(int )}. */
68+ /** Test {@link Reader#skip(long )}. */
6969 public void testSkip () throws IOException {
7070 Reader reader = new CharSequenceReader ("FooBar" );
7171 assertEquals (3 , reader .skip (3 ));
@@ -119,10 +119,10 @@ public void testReadCharArrayPortion() throws IOException {
119119 private void checkRead (Reader reader , String expected ) throws IOException {
120120 for (int i = 0 ; i < expected .length (); i ++) {
121121 assertEquals ("Read[" + i + "] of '" + expected + "'" ,
122- ( char ) expected .charAt (i ), (char )reader .read ());
122+ expected .charAt (i ), (char )reader .read ());
123123 }
124124 }
125- private void checkArray (char [] expected , char [] actual ) throws IOException {
125+ private void checkArray (char [] expected , char [] actual ) {
126126 for (int i = 0 ; i < expected .length ; i ++) {
127127 assertEquals ("Compare[" +i + "]" , expected [i ], actual [i ]);
128128 }
0 commit comments