diff options
author | Jesse Wilson <jessewilson@google.com> | 2011-01-13 16:38:09 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-01-13 16:38:09 -0800 |
commit | 65275e82cd8c877145376dd429a5e31f598e81a2 (patch) | |
tree | 8f082e20e048a9888fcfd4f476b36f5a2b5c3095 /support/src/test/java | |
parent | 8a9624fcddded08aa352e56369c190d35f234e0a (diff) | |
parent | f162edaa335461474b020027bb2e85eb3be2c179 (diff) | |
download | libcore-65275e82cd8c877145376dd429a5e31f598e81a2.zip libcore-65275e82cd8c877145376dd429a5e31f598e81a2.tar.gz libcore-65275e82cd8c877145376dd429a5e31f598e81a2.tar.bz2 |
Merge "Fix HTTP cookie to do case mapping with Locale.US." into honeycomb
Diffstat (limited to 'support/src/test/java')
-rw-r--r-- | support/src/test/java/tests/http/MockWebServer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/src/test/java/tests/http/MockWebServer.java b/support/src/test/java/tests/http/MockWebServer.java index 4a2b7ec..35729ed 100644 --- a/support/src/test/java/tests/http/MockWebServer.java +++ b/support/src/test/java/tests/http/MockWebServer.java @@ -193,7 +193,7 @@ public final class MockWebServer { } private void acceptConnections() throws Exception { - while (!responseQueue.isEmpty()) { + do { Socket socket; try { socket = serverSocket.accept(); @@ -208,7 +208,7 @@ public final class MockWebServer { openClientSockets.add(socket); serveConnection(socket); } - } + } while (!responseQueue.isEmpty()); } })); } |