Skip to content

Commit cd4e73a

Browse files
committed
Fix typos in CloseStatus comments
Closes gh-34548
1 parent a605f07 commit cd4e73a

File tree

2 files changed

+3
-3
lines changed
  • spring-webflux/src/main/java/org/springframework/web/reactive/socket
  • spring-websocket/src/main/java/org/springframework/web/socket

2 files changed

+3
-3
lines changed

Diff for: spring-webflux/src/main/java/org/springframework/web/reactive/socket/CloseStatus.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public final class CloseStatus {
6060
*/
6161
public static final CloseStatus NOT_ACCEPTABLE = new CloseStatus(1003);
6262

63-
// 10004: Reserved.
63+
// 1004: Reserved.
6464
// The specific meaning might be defined in the future.
6565

6666
/**

Diff for: spring-websocket/src/main/java/org/springframework/web/socket/CloseStatus.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2025 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.
@@ -64,7 +64,7 @@ public final class CloseStatus implements Serializable {
6464
*/
6565
public static final CloseStatus NOT_ACCEPTABLE = new CloseStatus(1003);
6666

67-
// 10004: Reserved.
67+
// 1004: Reserved.
6868
// The specific meaning might be defined in the future.
6969

7070
/**

0 commit comments

Comments
 (0)