Merge "Remove the declaration of thrown exception 'org.onap.aaf.misc.env.APIException...
[aaf/authz.git] / auth / auth-cass / src / main / java / org / onap / aaf / auth / dao / hl / Function.java
index 89643c4..e5cde35 100644 (file)
@@ -96,10 +96,10 @@ public class Function {
         E("Executed"),D("Denied"),P("Pending"),L("Lapsed");
 
         private String desc;
-        public final static Result<OP_STATUS> RE = Result.ok(OP_STATUS.E);
-        public final static Result<OP_STATUS> RD = Result.ok(OP_STATUS.D);
-        public final static Result<OP_STATUS> RP = Result.ok(OP_STATUS.P);
-        public final static Result<OP_STATUS> RL = Result.ok(OP_STATUS.L);
+        public static final Result<OP_STATUS> RE = Result.ok(OP_STATUS.E);
+        public static final Result<OP_STATUS> RD = Result.ok(OP_STATUS.D);
+        public static final Result<OP_STATUS> RP = Result.ok(OP_STATUS.P);
+        public static final Result<OP_STATUS> RL = Result.ok(OP_STATUS.L);
 
         private OP_STATUS(String desc) {
             this.desc = desc;
@@ -227,7 +227,6 @@ public class Function {
         if (rparent.notOK()) {
             return Result.err(rparent);
         }
-        parent = rparent.value.parent;
         if (!fromApproval) {
             rparent = q.mayUser(trans, user, rparent.value, Access.write);
             if (rparent.notOK()) {