Skip to content

Commit

Permalink
Defer creating logger in StandardWebSocketHandlerAdapter to instantia…
Browse files Browse the repository at this point in the history
…tion time

Closes spring-projectsgh-25427
  • Loading branch information
jhoeller authored and xcl(徐程林) committed Aug 16, 2020
1 parent a027953 commit 9455d36
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2019 the original author or authors.
* Copyright 2002-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -42,7 +42,7 @@
*/
public class StandardWebSocketHandlerAdapter extends Endpoint {

private static final Log logger = LogFactory.getLog(StandardWebSocketHandlerAdapter.class);
private final Log logger = LogFactory.getLog(StandardWebSocketHandlerAdapter.class);

private final WebSocketHandler handler;

Expand Down

0 comments on commit 9455d36

Please sign in to comment.