Make use of Lombok
[nonrtric.git] / policy-agent / src / main / java / org / oransc / policyagent / repository / Services.java
index 01d6a7a..369b258 100644 (file)
@@ -48,8 +48,8 @@ public class Services {
     }
 
     public synchronized void put(Service service) {
-        logger.debug("Put service: " + service.name());
-        services.put(service.name(), service);
+        logger.debug("Put service: " + service.getName());
+        services.put(service.getName(), service);
     }
 
     public synchronized Iterable<Service> getAll() {