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

(cherry picked from commit 64f4703)
  • Loading branch information
jhoeller authored and zx20110729 committed Feb 18, 2022
1 parent 2d0044a commit f3c73f3
Showing 1 changed file with 2 additions and 2 deletions.
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2018 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 f3c73f3

Please sign in to comment.