Skip to content

Commit 79543da

Browse files
committed
The declared exception DecoderException is not actually thrown by the method doDecoding(byte[]) from type RFC1522CodecTest.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/codec/trunk@130418 13f79535-47bb-0310-9956-ffa450edef68
1 parent bbeb0c0 commit 79543da

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/test/org/apache/commons/codec/net/RFC1522CodecTest.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,33 +14,31 @@
1414
* limitations under the License.
1515
*/
1616

17-
1817
package org.apache.commons.codec.net;
1918

2019
import junit.framework.TestCase;
2120

2221
import org.apache.commons.codec.DecoderException;
23-
import org.apache.commons.codec.EncoderException;
2422

2523
/**
2624
* RFC 1522 compliant codec test cases
2725
*
2826
* @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a>
27+
* @version $Id: RFC1522CodecTest.java,v 1.3 2004/09/08 20:23:51 ggregory Exp $
2928
*/
3029
public class RFC1522CodecTest extends TestCase {
3130

3231
public RFC1522CodecTest(String name) {
3332
super(name);
3433
}
3534

36-
3735
class RFC1522TestCodec extends RFC1522Codec {
3836

39-
protected byte[] doDecoding(byte[] bytes) throws DecoderException {
37+
protected byte[] doDecoding(byte[] bytes) {
4038
return bytes;
4139
}
4240

43-
protected byte[] doEncoding(byte[] bytes) throws EncoderException {
41+
protected byte[] doEncoding(byte[] bytes) {
4442
return bytes;
4543
}
4644

0 commit comments

Comments
 (0)