Skip to content

Commit 4fdfa42

Browse files
committed
Merge branch '5.1.x'
2 parents 2a57b40 + 9837ec5 commit 4fdfa42

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/EnableWebSocket.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -49,7 +49,7 @@
4949
* registry.addHandler(echoWebSocketHandler(), "/echo").withSockJS();
5050
* }
5151
*
52-
* @Bean
52+
* @Override
5353
* public WebSocketHandler echoWebSocketHandler() {
5454
* return new EchoWebSocketHandler();
5555
* }

spring-websocket/src/main/java/org/springframework/web/socket/config/annotation/EnableWebSocketMessageBroker.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2016 the original author or authors.
2+
* Copyright 2002-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -49,7 +49,7 @@
4949
* registry.addEndpoint("/portfolio").withSockJS();
5050
* }
5151
*
52-
* @Bean
52+
* @Override
5353
* public void configureMessageBroker(MessageBrokerRegistry registry) {
5454
* registry.enableStompBrokerRelay("/queue/", "/topic/");
5555
* registry.setApplicationDestinationPrefixes("/app/");

0 commit comments

Comments
 (0)