Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Version Up & Removed unncessary properties"
[nonrtric.git]
/
policy-agent
/
src
/
main
/
java
/
org
/
oransc
/
policyagent
/
repository
/
Services.java
diff --git
a/policy-agent/src/main/java/org/oransc/policyagent/repository/Services.java
b/policy-agent/src/main/java/org/oransc/policyagent/repository/Services.java
index
568f002
..
f829c7c
100644
(file)
--- a/
policy-agent/src/main/java/org/oransc/policyagent/repository/Services.java
+++ b/
policy-agent/src/main/java/org/oransc/policyagent/repository/Services.java
@@
-22,6
+22,7
@@
package org.oransc.policyagent.repository;
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.slf4j.Logger;
import org.oransc.policyagent.exceptions.ServiceException;
import org.slf4j.Logger;
@@
-50,7
+51,7
@@
public class Services {
}
public synchronized Iterable<Service> getAll() {
}
public synchronized Iterable<Service> getAll() {
- return
registeredServices.values(
);
+ return
new Vector<>(registeredServices.values()
);
}
public synchronized void remove(String name) {
}
public synchronized void remove(String name) {