From 340f41af6d52b8a780ffc813727333ad10247382 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Wed, 2 Mar 2022 17:28:45 +0100 Subject: [PATCH] Suppress warnings in Gradle build --- .../transaction/interceptor/RollbackRuleAttributeTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-tx/src/test/java/org/springframework/transaction/interceptor/RollbackRuleAttributeTests.java b/spring-tx/src/test/java/org/springframework/transaction/interceptor/RollbackRuleAttributeTests.java index 488ca914518a..fd05ff675531 100644 --- a/spring-tx/src/test/java/org/springframework/transaction/interceptor/RollbackRuleAttributeTests.java +++ b/spring-tx/src/test/java/org/springframework/transaction/interceptor/RollbackRuleAttributeTests.java @@ -106,11 +106,13 @@ static class NestedException extends RuntimeException { } } + @SuppressWarnings("serial") static class MyException extends RuntimeException { } // Name intentionally starts with MyException (including package) but does // NOT extend MyException. + @SuppressWarnings("serial") static class MyException2 extends RuntimeException { }