Commit 6db5d991 authored by cdanger's avatar cdanger

Fixed PMD violation

parent 1293ea99
...@@ -40,7 +40,6 @@ import org.ow2.authzforce.core.pdp.api.IndeterminateEvaluationException; ...@@ -40,7 +40,6 @@ import org.ow2.authzforce.core.pdp.api.IndeterminateEvaluationException;
import org.ow2.authzforce.core.pdp.api.PepActions; import org.ow2.authzforce.core.pdp.api.PepActions;
import org.ow2.authzforce.core.pdp.api.PolicyVersion; import org.ow2.authzforce.core.pdp.api.PolicyVersion;
import org.ow2.authzforce.core.pdp.api.RefPolicyProvider; import org.ow2.authzforce.core.pdp.api.RefPolicyProvider;
import org.ow2.authzforce.core.pdp.api.StatusHelper;
import org.ow2.authzforce.core.pdp.api.VersionPatterns; import org.ow2.authzforce.core.pdp.api.VersionPatterns;
import org.ow2.authzforce.core.pdp.impl.BaseDecisionResult; import org.ow2.authzforce.core.pdp.impl.BaseDecisionResult;
import org.ow2.authzforce.core.pdp.impl.TargetEvaluator; import org.ow2.authzforce.core.pdp.impl.TargetEvaluator;
...@@ -306,7 +305,7 @@ public abstract class GenericPolicyEvaluator<T extends Decidable> implements IPo ...@@ -306,7 +305,7 @@ public abstract class GenericPolicyEvaluator<T extends Decidable> implements IPo
switch (algDecision) switch (algDecision)
{ {
case NOT_APPLICABLE: case NOT_APPLICABLE:
return algResult; return algResult;
case PERMIT: case PERMIT:
case DENY: case DENY:
return new BaseDecisionResult(targetMatchIndeterminateException.getStatus(), algDecision); return new BaseDecisionResult(targetMatchIndeterminateException.getStatus(), algDecision);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment