Remove redundant suppression

See gh-26448
This commit is contained in:
weixsun
2021-05-13 17:17:10 +08:00
committed by Stephane Nicoll
parent b3e6eaec7e
commit d115361980
10 changed files with 0 additions and 10 deletions

View File

@@ -44,7 +44,6 @@ class SampleCouchbaseApplicationTests {
}
private boolean serverNotRunning(RuntimeException ex) {
@SuppressWarnings("serial")
NestedCheckedException nested = new NestedCheckedException("failed", ex) {
};
if (nested.contains(FeatureNotAvailableException.class)) {

View File

@@ -67,7 +67,6 @@ class SampleLiquibaseApplicationTests {
.contains("Successfully released change log lock");
}
@SuppressWarnings("serial")
private boolean serverNotRunning(IllegalStateException ex) {
NestedCheckedException nested = new NestedCheckedException("failed", ex) {
};