hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r617254 - /httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/codecs/ChunkDecoder.java
Date Thu, 31 Jan 2008 21:49:02 GMT
Author: sebb
Date: Thu Jan 31 13:49:00 2008
New Revision: 617254

URL: http://svn.apache.org/viewvc?rev=617254&view=rev
Log:
Remove unnecessary casts

Modified:
    httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/codecs/ChunkDecoder.java

Modified: httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/codecs/ChunkDecoder.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/codecs/ChunkDecoder.java?rev=617254&r1=617253&r2=617254&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/codecs/ChunkDecoder.java
(original)
+++ httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/codecs/ChunkDecoder.java
Thu Jan 31 13:49:00 2008
@@ -232,7 +232,7 @@
 
     public Header[] getFooters() {
         if (this.footers != null) {
-            return (Header[]) this.footers.clone();
+            return this.footers.clone();
         } else {
             return new Header[] {};
         }



Mime
View raw message