We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa1aa1c commit 84ff113Copy full SHA for 84ff113
spring-amqp/src/main/java/org/springframework/amqp/core/Message.java
@@ -130,7 +130,7 @@ private String getBodyContentAsString() {
130
return "[serialized object]";
131
}
132
String encoding = encoding();
133
- if (this.body.length <= maxBodyLength
+ if (this.body.length <= maxBodyLength // NOSONAR
134
&& (MessageProperties.CONTENT_TYPE_TEXT_PLAIN.equals(contentType)
135
|| MessageProperties.CONTENT_TYPE_JSON.equals(contentType)
136
|| MessageProperties.CONTENT_TYPE_JSON_ALT.equals(contentType)
0 commit comments