Skip to content

Commit ccd177c

Browse files
committed
Fix new Sonar smell: no CloneNotSupportedException
1 parent 3fa278b commit ccd177c

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/Queue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public final void setMasterLocator(@Nullable String locator) {
176176
}
177177

178178
@Override
179-
public Object clone() {
179+
public Object clone() { // NOSONAR - doesn't throw CloneNotSupportedException
180180
Queue queue = new Queue(this.name, this.durable, this.exclusive, // NOSONAR - doesn't need to call super.clone()
181181
this.autoDelete, new HashMap<>(this.arguments));
182182
queue.setActualName(this.actualName);

0 commit comments

Comments
 (0)