try {
// reconfigure existing instance
oldInstance = (TestingFixedThreadPool) old.getInstance();
- } catch (ClassCastException e) {
+ } catch (final ClassCastException e) {
// old instance will be closed, new needs to be created
oldInstance = null;
}