From d4ecda90300825810e4ba4214ac4265041aa9d46 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 24 Jul 2017 12:36:28 +0100 Subject: [PATCH] Work around javac bug (internal review ID 9050163) --- .../transaction/jta/JtaAutoConfigurationTests.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/transaction/jta/JtaAutoConfigurationTests.java b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/transaction/jta/JtaAutoConfigurationTests.java index e1d0027a322..684637d8e8d 100644 --- a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/transaction/jta/JtaAutoConfigurationTests.java +++ b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/transaction/jta/JtaAutoConfigurationTests.java @@ -44,7 +44,6 @@ import org.junit.rules.ExpectedException; import org.springframework.beans.BeansException; import org.springframework.beans.factory.NoSuchBeanDefinitionException; import org.springframework.boot.autoconfigure.transaction.TransactionAutoConfiguration; -import org.springframework.boot.autoconfigure.transaction.jta.JtaAutoConfigurationTests.CustomNarayanaRecoveryManagerConfiguration.CustomNarayanaRecoveryManagerBean; import org.springframework.boot.context.properties.EnableConfigurationProperties; import org.springframework.boot.jta.XAConnectionFactoryWrapper; import org.springframework.boot.jta.XADataSourceWrapper; @@ -357,14 +356,14 @@ public class JtaAutoConfigurationTests { return new CustomNarayanaRecoveryManagerBean(recoveryManagerService); } - static final class CustomNarayanaRecoveryManagerBean - extends NarayanaRecoveryManagerBean { + } - private CustomNarayanaRecoveryManagerBean( - RecoveryManagerService recoveryManagerService) { - super(recoveryManagerService); - } + static final class CustomNarayanaRecoveryManagerBean + extends NarayanaRecoveryManagerBean { + private CustomNarayanaRecoveryManagerBean( + RecoveryManagerService recoveryManagerService) { + super(recoveryManagerService); } }