minor clean-up after previous change
[neutron.git] / northbound-api / src / main / java / org / opendaylight / neutron / northbound / impl / PortStatusUpdateInitializer.java
index 271477f57f9f207043da3a70b97760dcf5ff9ee8..597f1bae152545ee81b0172bb17f5cff761b7bbf 100644 (file)
@@ -58,7 +58,7 @@ public class PortStatusUpdateInitializer {
         try {
             Optional<String> res = jsonRestconfService.invokeRpc(
                     "sal-remote:create-data-change-event-subscription", Optional.of(SUBSCRIBE_JSON));
-            LOG.info("create-data-change-event-subscription returned {}", res.toString());
+            LOG.info("create-data-change-event-subscription returned {}", res);
         } catch (OperationFailedException e) {
             LOG.error("exception while calling create-data-change-event-subscription", e);
         }
@@ -72,7 +72,7 @@ public class PortStatusUpdateInitializer {
         Optional<String> res = null;
         try {
             res = jsonRestconfService.subscribeToStream(identifier, map);
-            LOG.info("subscribeToStream returned {}", res.toString());
+            LOG.info("subscribeToStream returned {}", res);
         } catch (OperationFailedException e) {
             LOG.error("exception while calling subscribeToStream", e);
         }