Add @OverRide.

This commit is contained in:
Arturo Bernal 2021-11-06 08:47:14 +01:00 committed by Oleg Kalnichevski
parent 0289c78e8d
commit 58386f857b
3 changed files with 5 additions and 0 deletions

View File

@ -219,6 +219,7 @@ public class SimpleRequestBuilder extends AbstractRequestBuilder<SimpleHttpReque
setBody(request.getBody());
}
@Override
protected void digest(final HttpRequest request) {
super.digest(request);
}
@ -365,6 +366,7 @@ public class SimpleRequestBuilder extends AbstractRequestBuilder<SimpleHttpReque
return this;
}
@Override
public SimpleHttpRequest build() {
String path = getPath();
SimpleBody bodyCopy = this.body;

View File

@ -132,6 +132,7 @@ public class SimpleResponseBuilder extends AbstractResponseBuilder<SimpleHttpRes
return this;
}
@Override
public SimpleHttpResponse build() {
final SimpleHttpResponse result = new SimpleHttpResponse(getStatus());
result.setVersion(getVersion());

View File

@ -55,10 +55,12 @@ class InternalH2ConnPool implements ModalCloseable {
this.connPool = new H2ConnPool(connectionInitiator, addressResolver, tlsStrategy);
}
@Override
public void close(final CloseMode closeMode) {
connPool.close(closeMode);
}
@Override
public void close() {
connPool.close();
}