Skip to content

Commit

Permalink
Remove trailing spaces
Browse files Browse the repository at this point in the history
Signed-off-by: Arjan Tijms <arjan.tijms@gmail.com>
  • Loading branch information
arjantijms committed May 11, 2022
1 parent 26eba02 commit 2656d86
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ public void loadPolicy() {

try {
LOGGER.log(INFO, policyLoading, javaPolicyClassName);
boolean usePolicyProxy = Boolean.parseBoolean(System.getProperty(POLICY_PROXY, "true"));

boolean usePolicyProxy = Boolean.parseBoolean(System.getProperty(POLICY_PROXY, "true"));

Policy policy = null;
if (usePolicyProxy && System.getSecurityManager() != null) {
Expand Down Expand Up @@ -232,7 +232,7 @@ private Policy loadPolicyAsProxy(String javaPolicyClassName) throws Exception {
CtClass clazz = pool.get(javaPolicyClassName);
clazz.defrost();
clazz.setModifiers(PUBLIC);

Object javaPolicyInstance =
createPolicyProxy(
clazz.toClass(
Expand All @@ -243,7 +243,7 @@ private Policy loadPolicyAsProxy(String javaPolicyClassName) throws Exception {
if (!(javaPolicyInstance instanceof Policy)) {
throw new RuntimeException(SM.getString("enterprise.security.plcyload.not14"));
}

javaPolicyInstance.toString();

return (Policy) javaPolicyInstance;
Expand Down

0 comments on commit 2656d86

Please sign in to comment.