Don't use single letter catch variables
Update existing catch blocks to ensure that `ex` is always used in preference to `e` or `t` as the variable name. Issue: SPR-16968
This commit is contained in:
committed by
Juergen Hoeller
parent
8f9aa06dfe
commit
0ad0f341bd
@@ -403,8 +403,8 @@ public class ThreadPoolTaskScheduler extends ExecutorConfigurationSupport
|
||||
try {
|
||||
return this.delegate.call();
|
||||
}
|
||||
catch (Throwable t) {
|
||||
this.errorHandler.handleError(t);
|
||||
catch (Throwable ex) {
|
||||
this.errorHandler.handleError(ex);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user