aboutsummaryrefslogtreecommitdiffstats
path: root/a1-policy-management/src/main/java/org
diff options
context:
space:
mode:
Diffstat (limited to 'a1-policy-management/src/main/java/org')
-rw-r--r--a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/repository/Services.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/repository/Services.java b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/repository/Services.java
index 2d2f6364..68a8d7dd 100644
--- a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/repository/Services.java
+++ b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/repository/Services.java
@@ -52,11 +52,11 @@ public class Services {
}
public synchronized Service getService(String name) throws ServiceException {
- Service s = registeredServices.get(name);
- if (s == null) {
+ Service service = registeredServices.get(name);
+ if (service == null) {
throw new ServiceException("Could not find service: " + name);
}
- return s;
+ return service;
}
public synchronized Service get(String name) {
@@ -80,7 +80,7 @@ public class Services {
try {
Files.delete(getPath(service));
} catch (Exception e) {
-
+ // Doesn't matter.
}
}
}