From a242415bb1b5199774603c3d603737793a085212 Mon Sep 17 00:00:00 2001 From: izeye Date: Fri, 24 Jul 2015 01:11:08 +0900 Subject: [PATCH] Remove an unused parameter Closes gh-3589 --- .../boot/autoconfigure/amqp/RabbitAutoConfiguration.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitAutoConfiguration.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitAutoConfiguration.java index 95665be102..6fc51731e0 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitAutoConfiguration.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/amqp/RabbitAutoConfiguration.java @@ -97,7 +97,7 @@ public class RabbitAutoConfiguration { @Bean @ConditionalOnMissingBean(RabbitTemplate.class) - public RabbitTemplate rabbitTemplate(RabbitProperties config) { + public RabbitTemplate rabbitTemplate() { return new RabbitTemplate(this.connectionFactory); }