src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/PushGroup.java
branchhttp-client-branch
changeset 55800 c4307c12419d
parent 55763 634d8e14c172
child 55973 4d9b002587db
--- 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