From 34167dc163035baa120916e4f3cffce724304e51 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Thu, 7 Jun 2018 13:34:18 +0200 Subject: [PATCH] Polish --- .../autoconfigure/jms/activemq/ActiveMQProperties.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQProperties.java index 2a6b696de5..a951fe2708 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/jms/activemq/ActiveMQProperties.java @@ -70,9 +70,9 @@ public class ActiveMQProperties { */ private Duration sendTimeout = Duration.ofMillis(0); - private Pool pool = new Pool(); + private final Pool pool = new Pool(); - private Packages packages = new Packages(); + private final Packages packages = new Packages(); public String getBrokerUrl() { return this.brokerUrl; @@ -134,10 +134,6 @@ public class ActiveMQProperties { return this.pool; } - public void setPool(Pool pool) { - this.pool = pool; - } - public Packages getPackages() { return this.packages; }