From ac322a8e3069ecd69a7da5f48e9451ec2e2df1d2 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 29 Nov 2018 14:45:20 +0000 Subject: [PATCH] Polish --- .../boot/autoconfigure/amqp/RabbitAutoConfigurationTests.java | 2 +- .../boot/autoconfigure/kafka/KafkaAutoConfigurationTests.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/amqp/RabbitAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/amqp/RabbitAutoConfigurationTests.java index f3c3655e10..ef276edd5d 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/amqp/RabbitAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/amqp/RabbitAutoConfigurationTests.java @@ -614,7 +614,7 @@ public class RabbitAutoConfigurationTests { } private void checkCommonProps(AssertableApplicationContext context, - AbstractRabbitListenerContainerFactory containerFactory) { + AbstractRabbitListenerContainerFactory containerFactory) { assertThat(containerFactory).hasFieldOrPropertyWithValue("autoStartup", Boolean.FALSE); assertThat(containerFactory).hasFieldOrPropertyWithValue("acknowledgeMode", diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/kafka/KafkaAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/kafka/KafkaAutoConfigurationTests.java index b9d16a8979..2332a6b255 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/kafka/KafkaAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/kafka/KafkaAutoConfigurationTests.java @@ -450,7 +450,7 @@ public class KafkaAutoConfigurationTests { .getBean(DefaultKafkaConsumerFactory.class); KafkaTemplate kafkaTemplate = context .getBean(KafkaTemplate.class); - AbstractKafkaListenerContainerFactory kafkaListenerContainerFactory = (AbstractKafkaListenerContainerFactory) context + AbstractKafkaListenerContainerFactory kafkaListenerContainerFactory = (AbstractKafkaListenerContainerFactory) context .getBean(KafkaListenerContainerFactory.class); assertThat(kafkaTemplate.getMessageConverter()) .isInstanceOf(MessagingMessageConverter.class);