Skip to content

Commit 84ff113

Browse files
committed
Fix Sonar Issue
1 parent fa1aa1c commit 84ff113

File tree

1 file changed

+1
-1
lines changed
  • spring-amqp/src/main/java/org/springframework/amqp/core

1 file changed

+1
-1
lines changed

spring-amqp/src/main/java/org/springframework/amqp/core/Message.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ private String getBodyContentAsString() {
130130
return "[serialized object]";
131131
}
132132
String encoding = encoding();
133-
if (this.body.length <= maxBodyLength
133+
if (this.body.length <= maxBodyLength // NOSONAR
134134
&& (MessageProperties.CONTENT_TYPE_TEXT_PLAIN.equals(contentType)
135135
|| MessageProperties.CONTENT_TYPE_JSON.equals(contentType)
136136
|| MessageProperties.CONTENT_TYPE_JSON_ALT.equals(contentType)

0 commit comments

Comments
 (0)