Skip to content

Commit ab75c6a

Browse files
committed
Severity Description Resource In Folder Location Creation Time
Unnecessary cast to type Object for expression of type byte[] Base64Test.java Apache Jakarta Commons/codec/src/test/org/apache/commons/codec/binary line 370 July 23, 2003 11:22:45 AM Unnecessary cast to type Object for expression of type byte[] Base64Test.java Apache Jakarta Commons/codec/src/test/org/apache/commons/codec/binary line 401 July 23, 2003 11:22:45 AM Unnecessary cast to type Object for expression of type Object Base64Test.java Apache Jakarta Commons/codec/src/test/org/apache/commons/codec/binary line 373 July 23, 2003 11:22:45 AM git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/codec/trunk@130172 13f79535-47bb-0310-9956-ffa450edef68
1 parent 5190100 commit ab75c6a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

src/test/org/apache/commons/codec/binary/Base64Test.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
2-
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//codec/src/test/org/apache/commons/codec/binary/Base64Test.java,v 1.3 2003/05/14 02:40:18 tobrien Exp $
3-
* $Revision: 1.3 $
4-
* $Date: 2003/05/14 02:40:18 $
2+
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//codec/src/test/org/apache/commons/codec/binary/Base64Test.java,v 1.4 2003/07/25 22:57:35 ggregory Exp $
3+
* $Revision: 1.4 $
4+
* $Date: 2003/07/25 22:57:35 $
55
*
66
* ====================================================================
77
*
@@ -67,7 +67,7 @@
6767
import junit.framework.TestCase;
6868

6969
/**
70-
* @version $Revision: 1.3 $ $Date: 2003/05/14 02:40:18 $
70+
* @version $Revision: 1.4 $ $Date: 2003/07/25 22:57:35 $
7171
* @author <a href="mailto:sanders@apache.org">Scott Sanders</a>
7272
* @author <a href="mailto:rwaldhoff@apache.org">Rodney Waldhoff</a>
7373
* @author <a href="mailto:tobrien@apache.org">Tim O'Brien</a>
@@ -367,10 +367,10 @@ public void testObjectDecodeWithValidParameter() throws Exception {
367367
String original = "Hello World!";
368368
byte[] bArray =
369369
Base64.encodeBase64( (new String(original)).getBytes() );
370-
Object o = (Object) bArray;
370+
Object o = bArray;
371371

372372
Base64 b64 = new Base64();
373-
Object oDecoded = (Object) b64.decode( o );
373+
Object oDecoded = b64.decode( o );
374374
byte[] baDecoded = (byte[]) oDecoded;
375375
String dest = new String( baDecoded );
376376

@@ -398,7 +398,7 @@ public void testObjectEncodeWithValidParameter() throws Exception {
398398

399399
String original = "Hello World!";
400400
byte[] origBytes = original.getBytes();
401-
Object origObj = (Object) origBytes;
401+
Object origObj = origBytes;
402402

403403
Base64 b64 = new Base64();
404404
Object oEncoded = b64.encode( origObj );

0 commit comments

Comments
 (0)