commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject cvs commit: jakarta-commons/codec/src/test/org/apache/commons/codec/net RFC1522CodecTest.java
Date Wed, 08 Sep 2004 20:23:51 GMT
ggregory    2004/09/08 13:23:51

  Modified:    codec/src/test/org/apache/commons/codec/net
                        RFC1522CodecTest.java
  Log:
  The declared exception DecoderException is not actually thrown by the method doDecoding(byte[])
from type RFC1522CodecTest.
  
  Revision  Changes    Path
  1.3       +3 -5      jakarta-commons/codec/src/test/org/apache/commons/codec/net/RFC1522CodecTest.java
  
  Index: RFC1522CodecTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/codec/src/test/org/apache/commons/codec/net/RFC1522CodecTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RFC1522CodecTest.java	5 Aug 2004 20:39:39 -0000	1.2
  +++ RFC1522CodecTest.java	8 Sep 2004 20:23:51 -0000	1.3
  @@ -14,18 +14,17 @@
    * limitations under the License.
    */ 
   
  -
   package org.apache.commons.codec.net;
   
   import junit.framework.TestCase;
   
   import org.apache.commons.codec.DecoderException;
  -import org.apache.commons.codec.EncoderException;
   
   /**
    * RFC 1522 compliant codec test cases
    * 
    * @author <a href="mailto:oleg@ural.ru">Oleg Kalnichevski</a>
  + * @version $Id$
    */
   public class RFC1522CodecTest extends TestCase {
       
  @@ -33,14 +32,13 @@
           super(name);
       }
   
  -
       class RFC1522TestCodec extends RFC1522Codec { 
   
  -        protected byte[] doDecoding(byte[] bytes) throws DecoderException {
  +        protected byte[] doDecoding(byte[] bytes) {
               return bytes;
           }
   
  -        protected byte[] doEncoding(byte[] bytes) throws EncoderException {
  +        protected byte[] doEncoding(byte[] bytes) {
               return bytes;
           }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message