Browse Source

Polishing

pull/31226/head
Sam Brannen 2 years ago
parent
commit
2cc1ee78c1
  1. 2
      spring-expression/src/main/java/org/springframework/expression/spel/ast/InlineMap.java
  2. 2
      spring-expression/src/main/java/org/springframework/expression/spel/ast/OpMinus.java
  3. 2
      spring-websocket/src/main/java/org/springframework/web/socket/server/jetty/JettyRequestUpgradeStrategy.java

2
spring-expression/src/main/java/org/springframework/expression/spel/ast/InlineMap.java

@ -51,7 +51,7 @@ public class InlineMap extends SpelNodeImpl { @@ -51,7 +51,7 @@ public class InlineMap extends SpelNodeImpl {
/**
* If all the components of the map are constants, or lists/maps that themselves
* contain constants, then a constant list can be built to represent this node.
* contain constants, then a constant map can be built to represent this node.
* <p>This will speed up later getValue calls and reduce the amount of garbage
* created.
*/

2
spring-expression/src/main/java/org/springframework/expression/spel/ast/OpMinus.java

@ -33,7 +33,7 @@ import org.springframework.util.NumberUtils; @@ -33,7 +33,7 @@ import org.springframework.util.NumberUtils;
* <ul>
* <li>subtraction of numbers
* <li>subtraction of an int from a string of one character
* (effectively decreasing that character), so 'd'-3='a'
* (effectively decreasing that character), so {@code 'd' - 3 = 'a'}
* </ul>
*
* <p>It can be used as a unary operator for numbers.

2
spring-websocket/src/main/java/org/springframework/web/socket/server/jetty/JettyRequestUpgradeStrategy.java

@ -72,7 +72,7 @@ public class JettyRequestUpgradeStrategy implements RequestUpgradeStrategy, Serv @@ -72,7 +72,7 @@ public class JettyRequestUpgradeStrategy implements RequestUpgradeStrategy, Serv
/**
* Add a callback to configure WebSocket server parameters on
* {@link JettyWebSocketServerContainer}.
* @since 6.1.0
* @since 6.1
*/
public void addWebSocketConfigurer(Consumer<Configurable> webSocketConfigurer) {
this.webSocketConfigurer = (this.webSocketConfigurer != null ?

Loading…
Cancel
Save