Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Loading of configuration
[nonrtric.git]
/
policy-agent
/
src
/
main
/
java
/
org
/
oransc
/
policyagent
/
repository
/
PolicyTypes.java
diff --git
a/policy-agent/src/main/java/org/oransc/policyagent/repository/PolicyTypes.java
b/policy-agent/src/main/java/org/oransc/policyagent/repository/PolicyTypes.java
index
7798231
..
2897a50
100644
(file)
--- a/
policy-agent/src/main/java/org/oransc/policyagent/repository/PolicyTypes.java
+++ b/
policy-agent/src/main/java/org/oransc/policyagent/repository/PolicyTypes.java
@@
-21,9
+21,9
@@
package org.oransc.policyagent.repository;
import java.util.Collection;
package org.oransc.policyagent.repository;
import java.util.Collection;
-import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.HashMap;
import java.util.Map;
+import java.util.Vector;
import org.oransc.policyagent.exceptions.ServiceException;
import org.oransc.policyagent.exceptions.ServiceException;
@@
-51,7
+51,7
@@
public class PolicyTypes {
}
public synchronized Collection<PolicyType> getAll() {
}
public synchronized Collection<PolicyType> getAll() {
- return
Collections.unmodifiableCollection
(types.values());
+ return
new Vector<>
(types.values());
}
public synchronized int size() {
}
public synchronized int size() {