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
Merge "Sonar cleanup for PolicyEngineUtils"
[policy/engine.git]
/
PolicyEngineUtils
/
src
/
main
/
java
/
org
/
onap
/
policy
/
std
/
StdPDPNotification.java
diff --git
a/PolicyEngineUtils/src/main/java/org/onap/policy/std/StdPDPNotification.java
b/PolicyEngineUtils/src/main/java/org/onap/policy/std/StdPDPNotification.java
index
1640fe8
..
54b9bb0
100644
(file)
--- a/
PolicyEngineUtils/src/main/java/org/onap/policy/std/StdPDPNotification.java
+++ b/
PolicyEngineUtils/src/main/java/org/onap/policy/std/StdPDPNotification.java
@@
-21,6
+21,7
@@
package org.onap.policy.std;
import java.util.Collection;
package org.onap.policy.std;
import java.util.Collection;
+import java.util.Collections;
import java.util.HashSet;
import org.onap.policy.api.LoadedPolicy;
import org.onap.policy.api.NotificationType;
import java.util.HashSet;
import org.onap.policy.api.LoadedPolicy;
import org.onap.policy.api.NotificationType;
@@
-42,7
+43,7
@@
public class StdPDPNotification implements PDPNotification {
removed.addAll(removedPolicies);
return this.removed;
}
removed.addAll(removedPolicies);
return this.removed;
}
- return
null
;
+ return
Collections.emptyList()
;
}
@Override
}
@Override
@@
-52,7
+53,7
@@
public class StdPDPNotification implements PDPNotification {
updated.addAll(loadedPolicies);
return updated;
}
updated.addAll(loadedPolicies);
return updated;
}
- return
null
;
+ return
Collections.emptyList()
;
}
@Override
}
@Override