Code Review
/
policy
/
engine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Reduce technical debt
[policy/engine.git]
/
POLICY-SDK-APP
/
src
/
main
/
java
/
org
/
onap
/
policy
/
model
/
PDPPolicyContainer.java
diff --git
a/POLICY-SDK-APP/src/main/java/org/onap/policy/model/PDPPolicyContainer.java
b/POLICY-SDK-APP/src/main/java/org/onap/policy/model/PDPPolicyContainer.java
index
27fe719
..
e73adf8
100644
(file)
--- a/
POLICY-SDK-APP/src/main/java/org/onap/policy/model/PDPPolicyContainer.java
+++ b/
POLICY-SDK-APP/src/main/java/org/onap/policy/model/PDPPolicyContainer.java
@@
-151,7
+151,7
@@
public class PDPPolicyContainer extends PolicyItemSetChangeNotifier implements P
if (this.policies.isEmpty()) {
return false;
}
if (this.policies.isEmpty()) {
return false;
}
- return
(itemId.equals(this.policies.get(0)
));
+ return
itemId.equals(this.policies.get(0
));
}
@Override
}
@Override
@@
-162,7
+162,7
@@
public class PDPPolicyContainer extends PolicyItemSetChangeNotifier implements P
if (this.policies.isEmpty()) {
return false;
}
if (this.policies.isEmpty()) {
return false;
}
- return
(itemId.equals(this.policies.get(this.policies.size() - 1)
));
+ return
itemId.equals(this.policies.get(this.policies.size() - 1
));
}
@Override
}
@Override