From ecfedd9a8f329a1099509dbaf120b4f7d632152c Mon Sep 17 00:00:00 2001 From: Dmitry Kryukov Date: Thu, 13 Nov 2025 21:27:01 +0300 Subject: [PATCH] SYNAPSE-1135 removed unused collection from AMQPTransportEndpoint --- .../apache/synapse/transport/amqp/AMQPTransportEndpoint.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/transports/optional/amqp/src/main/java/org/apache/synapse/transport/amqp/AMQPTransportEndpoint.java b/modules/transports/optional/amqp/src/main/java/org/apache/synapse/transport/amqp/AMQPTransportEndpoint.java index 9616eb892..e79094bc1 100644 --- a/modules/transports/optional/amqp/src/main/java/org/apache/synapse/transport/amqp/AMQPTransportEndpoint.java +++ b/modules/transports/optional/amqp/src/main/java/org/apache/synapse/transport/amqp/AMQPTransportEndpoint.java @@ -31,8 +31,6 @@ */ public class AMQPTransportEndpoint extends ProtocolEndpoint { - private Set endpointReferences = new HashSet(); - private ScheduledExecutorService workerPool; private AMQPTransportPollingTask pollingTask; @@ -88,6 +86,6 @@ public boolean loadConfiguration(ParameterInclude params) throws AxisFault { @Override public EndpointReference[] getEndpointReferences(AxisService service, String ip) throws AxisFault { - return endpointReferences.toArray(new EndpointReference[endpointReferences.size()]); + return new EndpointReference[0]; } } \ No newline at end of file