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 2020import org .asynchttpclient .RequestBuilder ;
2121import org .asynchttpclient .Response ;
2222import org .asynchttpclient .Response .ResponseBuilder ;
23- import org .asynchttpclient .handler .TransferCompletionHandler ;
2423import org .jetbrains .annotations .Nullable ;
2524import org .slf4j .Logger ;
2625import org .slf4j .LoggerFactory ;
4746 * Beware that it registers a shutdown hook, that will cause a ClassLoader leak when used in an appserver and only redeploying the application.
4847 */
4948public 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 );
5150 private static final ResumableIndexThread resumeIndexThread = new ResumableIndexThread ();
5251 private static Map <String , Long > resumableIndex = Collections .emptyMap ();
5352
@@ -125,7 +124,7 @@ public void onThrowable(Throwable t) {
125124 if (decoratedAsyncHandler != null ) {
126125 decoratedAsyncHandler .onThrowable (t );
127126 } else {
128- logger .debug ("" , t );
127+ LOGGER .debug ("" , t );
129128 }
130129 }
131130
You can’t perform that action at this time.
0 commit comments