Code Review
/
aaf
/
authz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Improve coverage of cadi-aaf
[aaf/authz.git]
/
cadi
/
aaf
/
src
/
main
/
java
/
org
/
onap
/
aaf
/
cadi
/
persist
/
Persisting.java
diff --git
a/cadi/aaf/src/main/java/org/onap/aaf/cadi/persist/Persisting.java
b/cadi/aaf/src/main/java/org/onap/aaf/cadi/persist/Persisting.java
index
7131b60
..
8b98f5b
100644
(file)
--- a/
cadi/aaf/src/main/java/org/onap/aaf/cadi/persist/Persisting.java
+++ b/
cadi/aaf/src/main/java/org/onap/aaf/cadi/persist/Persisting.java
@@
-113,11
+113,7
@@
public class Persisting<T> implements Persistable<T> {
//TODO other elements to add here...
// Ideas: Is it valid?
// if not, How many times has it been checked in the last minute
- if(expired()) {
- return true;
- } else {
- return false;
- }
+ return expired();
}
@Override