- static IllegalStateException sanitize(InstanceAlreadyExistsException e,
- ModuleIdentifier moduleIdentifier, ObjectName on) {
- throw new IllegalStateException("Could not register runtime bean in "
- + moduleIdentifier + " under name " + on, e);
-
+ static IllegalStateException sanitize(final InstanceAlreadyExistsException exception,
+ final ModuleIdentifier moduleIdentifier, final ObjectName on) {
+ throw new IllegalStateException("Could not register runtime bean in " + moduleIdentifier + " under name " + on,
+ exception);