File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
client/src/main/java/org/asynchttpclient/handler/resumable Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 20
20
import org .asynchttpclient .RequestBuilder ;
21
21
import org .asynchttpclient .Response ;
22
22
import org .asynchttpclient .Response .ResponseBuilder ;
23
- import org .asynchttpclient .handler .TransferCompletionHandler ;
24
23
import org .jetbrains .annotations .Nullable ;
25
24
import org .slf4j .Logger ;
26
25
import org .slf4j .LoggerFactory ;
47
46
* Beware that it registers a shutdown hook, that will cause a ClassLoader leak when used in an appserver and only redeploying the application.
48
47
*/
49
48
public class ResumableAsyncHandler implements AsyncHandler <Response > {
50
- private static final Logger logger = LoggerFactory .getLogger (ResumableAsyncHandler .class );
49
+ private static final Logger LOGGER = LoggerFactory .getLogger (ResumableAsyncHandler .class );
51
50
private static final ResumableIndexThread resumeIndexThread = new ResumableIndexThread ();
52
51
private static Map <String , Long > resumableIndex = Collections .emptyMap ();
53
52
@@ -125,7 +124,7 @@ public void onThrowable(Throwable t) {
125
124
if (decoratedAsyncHandler != null ) {
126
125
decoratedAsyncHandler .onThrowable (t );
127
126
} else {
128
- logger .debug ("" , t );
127
+ LOGGER .debug ("" , t );
129
128
}
130
129
}
131
130
You can’t perform that action at this time.
0 commit comments