Improve coverage of cadi-aaf
[aaf/authz.git] / cadi / aaf / src / main / java / org / onap / aaf / cadi / persist / Persisting.java
index 7131b60..8b98f5b 100644 (file)
@@ -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