Skip to content

Commit 11881ff

Browse files
committed
Polishing
1 parent a18cfd7 commit 11881ff

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

spring-webflux/src/main/java/org/springframework/web/reactive/function/server/support/ServerResponseResultHandler.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ public void setViewResolvers(List<ViewResolver> viewResolvers) {
6464
* Set the order for this result handler relative to others.
6565
* <p>By default set to 0. It is generally safe to place it early in the
6666
* order as it looks for a concrete return type.
67-
* @param order the order
6867
*/
6968
public void setOrder(int order) {
7069
this.order = order;

spring-websocket/src/main/java/org/springframework/web/socket/messaging/DefaultSimpUserRegistry.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2018 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.
@@ -39,8 +39,8 @@
3939

4040
/**
4141
* A default implementation of {@link SimpUserRegistry} that relies on
42-
* {@link AbstractSubProtocolEvent} application context events to keep track of
43-
* connected users and their subscriptions.
42+
* {@link AbstractSubProtocolEvent} application context events to keep
43+
* track of connected users and their subscriptions.
4444
*
4545
* @author Rossen Stoyanchev
4646
* @since 4.2
@@ -58,6 +58,11 @@ public class DefaultSimpUserRegistry implements SimpUserRegistry, SmartApplicati
5858
private final Object sessionLock = new Object();
5959

6060

61+
/**
62+
* Specify the order value for this registry.
63+
* <p>Default is {@link Ordered#LOWEST_PRECEDENCE}.
64+
* @since 5.0.8
65+
*/
6166
public void setOrder(int order) {
6267
this.order = order;
6368
}

0 commit comments

Comments
 (0)