Remove throws Exception from SecretLeaseContainer.afterPropertiesSet

It's not required so we can drop throws Exception from the method declaration.

Closes gh-584
This commit is contained in:
Mark Paluch
2020-09-21 08:55:29 +02:00
parent a6435b5f93
commit 2c0102f549
2 changed files with 2 additions and 2 deletions

View File

@@ -429,7 +429,7 @@ public class SecretLeaseContainer extends SecretLeaseEventPublisher implements I
}
@Override
public void afterPropertiesSet() throws Exception {
public void afterPropertiesSet() {
if (!this.initialized) {

View File

@@ -97,7 +97,7 @@ public class SecretLeaseEventPublisher implements InitializingBean {
}
@Override
public void afterPropertiesSet() throws Exception {
public void afterPropertiesSet() {
if (this.leaseErrorListeners.isEmpty()) {
addErrorListener(LoggingErrorListener.INSTANCE);