Skip to content

Commit

Permalink
Removing redundant variable
Browse files Browse the repository at this point in the history
  • Loading branch information
rnavagamuwa committed Mar 26, 2019
1 parent edf9e0f commit 564e342
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.wso2.spring.security.abac;

import org.apache.commons.io.FileUtils;
import org.apache.velocity.Template;
import org.apache.velocity.VelocityContext;
import org.apache.velocity.app.VelocityEngine;
Expand All @@ -15,7 +14,6 @@

import java.io.IOException;
import java.io.StringWriter;
import java.nio.charset.StandardCharsets;
import java.util.Base64;
import java.util.Iterator;
import javax.servlet.http.HttpServletRequest;
Expand Down Expand Up @@ -50,8 +48,6 @@ public String createAuthRequest(String policyName, String jsonKeyValuePairs) {

String xacmlRequest;
try {
xacmlRequest = FileUtils.readFileToString(ResourceUtils.getFile("classpath:" + ATTRIBUTE_CONFIG_FILE_NAME),
StandardCharsets.UTF_8);

VelocityEngine velocityEngine = new VelocityEngine();
velocityEngine.setProperty(RuntimeConstants.FILE_RESOURCE_LOADER_PATH,
Expand Down

0 comments on commit 564e342

Please sign in to comment.