You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by el...@apache.org on 2010/01/28 14:50:35 UTC

svn commit: r904087 - /mina/asyncweb/trunk/common/src/main/java/org/apache/asyncweb/common/codec/HttpRequestDecoder.java

Author: elecharny
Date: Thu Jan 28 13:50:34 2010
New Revision: 904087

URL: http://svn.apache.org/viewvc?rev=904087&view=rev
Log:
Formatted following MINA code style

Modified:
    mina/asyncweb/trunk/common/src/main/java/org/apache/asyncweb/common/codec/HttpRequestDecoder.java

Modified: mina/asyncweb/trunk/common/src/main/java/org/apache/asyncweb/common/codec/HttpRequestDecoder.java
URL: http://svn.apache.org/viewvc/mina/asyncweb/trunk/common/src/main/java/org/apache/asyncweb/common/codec/HttpRequestDecoder.java?rev=904087&r1=904086&r2=904087&view=diff
==============================================================================
--- mina/asyncweb/trunk/common/src/main/java/org/apache/asyncweb/common/codec/HttpRequestDecoder.java (original)
+++ mina/asyncweb/trunk/common/src/main/java/org/apache/asyncweb/common/codec/HttpRequestDecoder.java Thu Jan 28 13:50:34 2010
@@ -32,20 +32,16 @@
  *
  * @author The Apache MINA Project (dev@mina.apache.org)
  */
-public class HttpRequestDecoder extends DecodingStateProtocolDecoder
-{
-    public HttpRequestDecoder()
-    {
-        super( new HttpRequestDecodingStateMachine()
-        {
+public class HttpRequestDecoder extends DecodingStateProtocolDecoder {
+    public HttpRequestDecoder() {
+        super( new HttpRequestDecodingStateMachine() {
             @Override
             protected DecodingState finishDecode(List<Object> childProducts,
-                    ProtocolDecoderOutput out) throws Exception
-            {
-                for ( Object m: childProducts )
-                {
+                    ProtocolDecoderOutput out) throws Exception {
+                for (Object m: childProducts) {
                     out.write( m );
                 }
+                
                 return null;
             }
         });