Skip to content

Commit

Permalink
Change some access modifier (#1784)
Browse files Browse the repository at this point in the history
Revert the public access modifier changed in PR #1706

Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
  • Loading branch information
wplong11 and velo committed Oct 11, 2022
1 parent ce706ec commit f8c57da
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions core/src/main/java/feign/AsyncResponseHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* handling
*/
@Experimental
public class AsyncResponseHandler {
class AsyncResponseHandler {

private static final long MAX_RESPONSE_BUFFER_SIZE = 8192L;

Expand All @@ -41,7 +41,7 @@ public class AsyncResponseHandler {

private final ResponseInterceptor responseInterceptor;

public AsyncResponseHandler(Level logLevel, Logger logger, Decoder decoder,
AsyncResponseHandler(Level logLevel, Logger logger, Decoder decoder,
ErrorDecoder errorDecoder, boolean dismiss404, boolean closeAfterDecode,
ResponseInterceptor responseInterceptor) {
super();
Expand All @@ -59,11 +59,11 @@ boolean isVoidType(Type returnType) {
|| returnType.getTypeName().equals("kotlin.Unit");
}

public void handleResponse(CompletableFuture<Object> resultFuture,
String configKey,
Response response,
Type returnType,
long elapsedTime) {
void handleResponse(CompletableFuture<Object> resultFuture,
String configKey,
Response response,
Type returnType,
long elapsedTime) {
// copied fairly liberally from SynchronousMethodHandler
boolean shouldClose = true;

Expand Down
8 changes: 4 additions & 4 deletions core/src/main/java/feign/Logger.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ protected Response logAndRebufferResponse(String configKey,
return response;
}

public IOException logIOException(String configKey,
Level logLevel,
IOException ioe,
long elapsedTime) {
protected IOException logIOException(String configKey,
Level logLevel,
IOException ioe,
long elapsedTime) {
log(configKey, "<--- ERROR %s: %s (%sms)", ioe.getClass().getSimpleName(), ioe.getMessage(),
elapsedTime);
if (logLevel.ordinal() >= Level.FULL.ordinal()) {
Expand Down

0 comments on commit f8c57da

Please sign in to comment.