Add missing @Override annotations.
This commit is contained in:
parent
c3bdc8913f
commit
769e9fab3f
|
@ -48,6 +48,7 @@ public final class HttpAsyncCacheStorageAdaptor implements HttpAsyncCacheStorage
|
|||
this.cacheStorage = Args.notNull(cacheStorage, "Cache strorage");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Cancellable putEntry(final String key, final HttpCacheEntry entry, final FutureCallback<Boolean> callback) {
|
||||
Args.notEmpty(key, "Key");
|
||||
Args.notNull(entry, "Cache ehtry");
|
||||
|
@ -61,6 +62,7 @@ public final class HttpAsyncCacheStorageAdaptor implements HttpAsyncCacheStorage
|
|||
return Operations.nonCancellable();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Cancellable getEntry(final String key, final FutureCallback<HttpCacheEntry> callback) {
|
||||
Args.notEmpty(key, "Key");
|
||||
Args.notNull(callback, "Callback");
|
||||
|
@ -73,6 +75,7 @@ public final class HttpAsyncCacheStorageAdaptor implements HttpAsyncCacheStorage
|
|||
return Operations.nonCancellable();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Cancellable removeEntry(final String key, final FutureCallback<Boolean> callback) {
|
||||
Args.notEmpty(key, "Key");
|
||||
Args.notNull(callback, "Callback");
|
||||
|
@ -85,6 +88,7 @@ public final class HttpAsyncCacheStorageAdaptor implements HttpAsyncCacheStorage
|
|||
return Operations.nonCancellable();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Cancellable updateEntry(
|
||||
final String key, final HttpCacheCASOperation casOperation, final FutureCallback<Boolean> callback) {
|
||||
Args.notEmpty(key, "Key");
|
||||
|
@ -99,6 +103,7 @@ public final class HttpAsyncCacheStorageAdaptor implements HttpAsyncCacheStorage
|
|||
return Operations.nonCancellable();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Cancellable getEntries(final Collection<String> keys, final FutureCallback<Map<String, HttpCacheEntry>> callback) {
|
||||
Args.notNull(keys, "Key");
|
||||
Args.notNull(callback, "Callback");
|
||||
|
|
|
@ -42,6 +42,7 @@ public class BasicTestAuthenticator implements Authenticator {
|
|||
this.realm = realm;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean authenticate(final URIAuthority authority, final String requestUri, final String credentials) {
|
||||
return Objects.equals(userToken, credentials);
|
||||
}
|
||||
|
|
|
@ -169,6 +169,7 @@ public class TestHttp1AsyncRedirects extends AbstractHttpAsyncRedirectsTest<Clos
|
|||
|
||||
}
|
||||
|
||||
@Override
|
||||
@Test
|
||||
public void testBasicRedirect300() throws Exception {
|
||||
server.register("*", new Supplier<AsyncServerExchangeHandler>() {
|
||||
|
|
|
@ -100,6 +100,7 @@ public class TestClientAuthentication extends LocalServerTestBase {
|
|||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public HttpHost start() throws IOException {
|
||||
return start(new BasicTestAuthenticator("test:test", "test realm"));
|
||||
}
|
||||
|
|
|
@ -36,6 +36,7 @@ public final class RequestCopier implements MessageCopier<HttpRequest> {
|
|||
|
||||
public static final RequestCopier INSTANCE = new RequestCopier();
|
||||
|
||||
@Override
|
||||
public HttpRequest copy(final HttpRequest original) {
|
||||
if (original == null) {
|
||||
return null;
|
||||
|
|
|
@ -37,6 +37,7 @@ public final class ClassicRequestCopier implements MessageCopier<ClassicHttpRequ
|
|||
|
||||
public static final ClassicRequestCopier INSTANCE = new ClassicRequestCopier();
|
||||
|
||||
@Override
|
||||
public ClassicHttpRequest copy(final ClassicHttpRequest original) {
|
||||
if (original == null) {
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue