hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r796661 - in /httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io: AbstractMessageParser.java ChunkedInputStream.java
Date Wed, 22 Jul 2009 10:40:27 GMT
Author: sebb
Date: Wed Jul 22 10:40:27 2009
New Revision: 796661

URL: http://svn.apache.org/viewvc?rev=796661&view=rev
Log:
Annotate switch fall-through to stop Eclipse complaining

Modified:
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ChunkedInputStream.java

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java?rev=796661&r1=796660&r2=796661&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/AbstractMessageParser.java
Wed Jul 22 10:40:27 2009
@@ -254,6 +254,7 @@
                 throw new ProtocolException(px.getMessage(), px);
             }
             this.state = HEADERS;         
+            //$FALL-THROUGH$
         case HEADERS:
             Header[] headers = AbstractMessageParser.parseHeaders(
                     this.sessionBuffer, 

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ChunkedInputStream.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ChunkedInputStream.java?rev=796661&r1=796660&r2=796661&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ChunkedInputStream.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/io/ChunkedInputStream.java
Wed Jul 22 10:40:27 2009
@@ -230,6 +230,7 @@
                     "Unexpected content at the end of chunk");
             }
             state = CHUNK_LEN; 
+            //$FALL-THROUGH$
         case CHUNK_LEN:
             this.buffer.clear();
             i = this.in.readLine(this.buffer);



Mime
View raw message