src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/AuthenticationFilter.java
--- a/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/AuthenticationFilter.java Fri Jan 12 15:36:28 2018 +0000
+++ b/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/AuthenticationFilter.java Tue Jan 16 15:52:01 2018 +0000
@@ -43,7 +43,7 @@
* Implementation of Http Basic authentication.
*/
class AuthenticationFilter implements HeaderFilter {
- volatile MultiExchange<?,?> exchange;
+ volatile MultiExchange<?> exchange;
private static final Base64.Encoder encoder = Base64.getEncoder();
static final int DEFAULT_RETRY_LIMIT = 3;
@@ -108,7 +108,7 @@
}
@Override
- public void request(HttpRequestImpl r, MultiExchange<?,?> e) throws IOException {
+ public void request(HttpRequestImpl r, MultiExchange<?> e) throws IOException {
// use preemptive authentication if an entry exists.
Cache cache = getCache(e);
this.exchange = e;
@@ -263,7 +263,7 @@
// be garbaged collected when no longer referenced.
static final WeakHashMap<HttpClientImpl,Cache> caches = new WeakHashMap<>();
- static synchronized Cache getCache(MultiExchange<?,?> exchange) {
+ static synchronized Cache getCache(MultiExchange<?> exchange) {
HttpClientImpl client = exchange.client();
Cache c = caches.get(client);
if (c == null) {