Merge branch '7.0.x'

This commit is contained in:
Sam Brannen
2026-09-20 14:58:32 +02:00
2 changed files with 2 additions and 2 deletions
@@ -35,7 +35,7 @@ final class StringToCharacterConverter implements Converter<String, @Nullable Ch
}
if (source.length() > 1) {
throw new IllegalArgumentException(
"Can only convert a [String] with length of 1 to a [Character]; string value '" + source + "' has length of " + source.length());
"Can only convert a [String] with length of 1 to a [Character]; string value '" + source + "' has length of " + source.length());
}
return source.charAt(0);
}
@@ -141,7 +141,7 @@ public class BufferingStompDecoder {
if (contentLength != null && contentLength > this.bufferSizeLimit) {
throw new StompConversionException(
"STOMP 'content-length' header value " + this.expectedContentLength +
" exceeds configured buffer size limit " + this.bufferSizeLimit);
" exceeds configured buffer size limit " + this.bufferSizeLimit);
}
if (getBufferSize() > this.bufferSizeLimit) {
throw new StompConversionException("The configured STOMP buffer size limit of " +