--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/PushGroup.java Fri Nov 10 16:24:07 2017 +0300
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/PushGroup.java Fri Nov 10 18:22:50 2017 +0300
@@ -133,18 +133,11 @@
});
}
- synchronized CompletableFuture<HttpResponse<T>> mainResponse() {
- return mainResponse;
- }
-
synchronized void addPush() {
numberOfPushes++;
remainingPushes++;
}
- synchronized int numberOfPushes() {
- return numberOfPushes;
- }
// This is called when the main body response completes because it means
// no more PUSH_PROMISEs are possible