Skip to content

Commit 41544ae

Browse files
committed
assertion around unexpected behavior
1 parent 1e8237c commit 41544ae

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

AndroidAsync/src/com/koushikdutta/async/http/HttpUtil.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ else if (server) {
9898
emitter = ender;
9999
return emitter;
100100
}
101+
else {
102+
throw new AssertionError();
103+
}
101104

102105
if ("gzip".equals(headers.get("Content-Encoding"))) {
103106
GZIPInputFilter gunzipper = new GZIPInputFilter();

0 commit comments

Comments
 (0)