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 (d...@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; } });