Skip to content

Commit e2e42a5

Browse files
committed
Fix Checkstyle
Issue gh-16012
1 parent 16fd24c commit e2e42a5

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

saml2/saml2-service-provider/src/test/java/org/springframework/security/saml2/provider/service/registration/JdbcAssertingPartyMetadataRepositoryTests.java

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2002-2025 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* https://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package org.springframework.security.saml2.provider.service.registration;
218

319
import java.io.IOException;
@@ -62,15 +78,15 @@ class JdbcAssertingPartyMetadataRepositoryTests {
6278
private final Serializer<Object> serializer = new DefaultSerializer();
6379

6480
@BeforeEach
65-
public void setUp() throws Exception {
81+
void setUp() {
6682
this.db = createDb();
6783
this.jdbcOperations = new JdbcTemplate(this.db);
6884
this.repository = new JdbcAssertingPartyMetadataRepository(this.jdbcOperations);
6985
this.certificate = loadCertificate("rsa.crt");
7086
}
7187

7288
@AfterEach
73-
public void tearDown() {
89+
void tearDown() {
7490
this.db.shutdown();
7591
}
7692

0 commit comments

Comments
 (0)