Reverted the unnecessary changes related with shutting FindBug up

This commit is contained in:
Trustin Lee 2009-02-26 09:08:34 +00:00
parent 0132b00091
commit 6200d39bdd

View File

@ -92,11 +92,9 @@ public abstract class HttpMessageDecoder extends ReplayingDecoder<HttpMessageDec
} finally { } finally {
checkpoint(); checkpoint();
} }
return null;
} }
case READ_INITIAL: { case READ_INITIAL: {
readInitial(buffer); readInitial(buffer);
return null;
} }
case READ_HEADER: { case READ_HEADER: {
readHeaders(buffer); readHeaders(buffer);
@ -137,10 +135,10 @@ public abstract class HttpMessageDecoder extends ReplayingDecoder<HttpMessageDec
chunkSize = getChunkSize(line); chunkSize = getChunkSize(line);
if (chunkSize == 0) { if (chunkSize == 0) {
checkpoint(State.READ_CHUNK_FOOTER); checkpoint(State.READ_CHUNK_FOOTER);
return null;
} else { } else {
checkpoint(State.READ_CHUNKED_CONTENT); checkpoint(State.READ_CHUNKED_CONTENT);
} }
return null;
} }
case READ_CHUNKED_CONTENT: { case READ_CHUNKED_CONTENT: {
if (mergeChunks) { if (mergeChunks) {