Some clean code refactorings
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
This commit is contained in:
@@ -72,7 +72,7 @@ public class SystemSecurityContext {
|
|||||||
try {
|
try {
|
||||||
setSystemContext();
|
setSystemContext();
|
||||||
return callable.call();
|
return callable.call();
|
||||||
// The callable API throws a Exception ant to specific
|
// The callable API throws a Exception and not a specific
|
||||||
} catch (@SuppressWarnings("squid:S2221") final Exception e) {
|
} catch (@SuppressWarnings("squid:S2221") final Exception e) {
|
||||||
throw Throwables.propagate(e);
|
throw Throwables.propagate(e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user