Fixed a 'shouldn't reach here' error

This commit is contained in:
Trustin Lee 2009-02-12 06:26:05 +00:00
parent 5ee6da3892
commit ebe77cef21

View File

@ -180,8 +180,8 @@ public abstract class HttpMessageDecoder extends ReplayingDecoder<HttpMessageDec
} }
} else { } else {
checkpoint(State.READ_CHUNK_FOOTER); checkpoint(State.READ_CHUNK_FOOTER);
return null;
} }
return null;
} }
default: { default: {
throw new Error("Shouldn't reach here."); throw new Error("Shouldn't reach here.");