Browse Source

Polishing contribution

Closes gh-29220
pull/29969/head
rstoyanchev 3 years ago
parent
commit
17bc3facaa
  1. 6
      spring-websocket/src/main/java/org/springframework/web/socket/CloseStatus.java

6
spring-websocket/src/main/java/org/springframework/web/socket/CloseStatus.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2022 the original author or authors.
* Copyright 2002-2023 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.
@ -145,8 +145,8 @@ public final class CloseStatus implements Serializable { @@ -145,8 +145,8 @@ public final class CloseStatus implements Serializable {
* client that may be done during normal shutdown.
* @since 4.0.3
*/
public static final CloseStatus SESSION_NOT_RELIABLE = new CloseStatus(4500)
.withReason("Failed to send message within the configured send limit");
public static final CloseStatus SESSION_NOT_RELIABLE =
new CloseStatus(4500).withReason("Failed to send message within the configured send limit");
private final int code;

Loading…
Cancel
Save