Skip to content

Commit 75fa912

Browse files
committed
Polish
Issue gh-489
1 parent 3a1b085 commit 75fa912

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: core/src/main/java/org/springframework/ldap/pool/validation/DefaultDirContextValidator.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2005-2013 the original author or authors.
2+
* Copyright 2005-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -185,7 +185,7 @@ public boolean validateDirContext(DirContextType contextType, DirContext dirCont
185185
if (searchResults != null) {
186186
try {
187187
searchResults.close();
188-
} catch (NamingException namingException) {
188+
} catch (NamingException ignored) {
189189
}
190190
}
191191
}

Diff for: core/src/main/java/org/springframework/ldap/pool2/validation/DefaultDirContextValidator.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2005-2013 the original author or authors.
2+
* Copyright 2005-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -185,7 +185,7 @@ public boolean validateDirContext(DirContextType contextType, DirContext dirCont
185185
if (searchResults != null) {
186186
try {
187187
searchResults.close();
188-
} catch (NamingException namingException) {
188+
} catch (NamingException ignored) {
189189
}
190190
}
191191
}

0 commit comments

Comments
 (0)