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:
@@ -429,7 +429,7 @@ public class SecretLeaseContainer extends SecretLeaseEventPublisher implements I
|
||||
}
|
||||
|
||||
@Override
|
||||
public void afterPropertiesSet() throws Exception {
|
||||
public void afterPropertiesSet() {
|
||||
|
||||
if (!this.initialized) {
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user