From cd4e73a4a32dc8fe1a8837485954a401736793cf Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Thu, 6 Mar 2025 10:26:07 +0100 Subject: [PATCH] Fix typos in CloseStatus comments Closes gh-34548 --- .../org/springframework/web/reactive/socket/CloseStatus.java | 2 +- .../main/java/org/springframework/web/socket/CloseStatus.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-webflux/src/main/java/org/springframework/web/reactive/socket/CloseStatus.java b/spring-webflux/src/main/java/org/springframework/web/reactive/socket/CloseStatus.java index 81d3489bb92..cc48da05f9d 100644 --- a/spring-webflux/src/main/java/org/springframework/web/reactive/socket/CloseStatus.java +++ b/spring-webflux/src/main/java/org/springframework/web/reactive/socket/CloseStatus.java @@ -60,7 +60,7 @@ public final class CloseStatus { */ public static final CloseStatus NOT_ACCEPTABLE = new CloseStatus(1003); - // 10004: Reserved. + // 1004: Reserved. // The specific meaning might be defined in the future. /** diff --git a/spring-websocket/src/main/java/org/springframework/web/socket/CloseStatus.java b/spring-websocket/src/main/java/org/springframework/web/socket/CloseStatus.java index 4f68333005d..e16d2e9ad35 100644 --- a/spring-websocket/src/main/java/org/springframework/web/socket/CloseStatus.java +++ b/spring-websocket/src/main/java/org/springframework/web/socket/CloseStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2023 the original author or authors. + * Copyright 2002-2025 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. @@ -64,7 +64,7 @@ public final class CloseStatus implements Serializable { */ public static final CloseStatus NOT_ACCEPTABLE = new CloseStatus(1003); - // 10004: Reserved. + // 1004: Reserved. // The specific meaning might be defined in the future. /**