Harmonize style of igored exceptions across the codebase
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2023 the original author or authors.
|
||||
* Copyright 2012-2024 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -584,6 +584,7 @@ class BatchAutoConfigurationTests {
|
||||
jobRegistry.register(getJobFactory());
|
||||
}
|
||||
catch (DuplicateJobException ex) {
|
||||
// Ignore
|
||||
}
|
||||
}
|
||||
return bean;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2023 the original author or authors.
|
||||
* Copyright 2012-2024 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -106,6 +106,7 @@ class SessionAutoConfigurationTests extends AbstractSessionAutoConfigurationTest
|
||||
delegatingFilterProxy.doFilter(null, null, null);
|
||||
}
|
||||
catch (Exception ex) {
|
||||
// Ignore
|
||||
}
|
||||
assertThat(delegatingFilterProxy).extracting("delegate")
|
||||
.isSameAs(context.getBean(SessionRepositoryFilter.class));
|
||||
|
||||
Reference in New Issue
Block a user