Fix deprecated warnings caused by YangTools update
[transportpce.git] / renderer / src / main / java / org / opendaylight / transportpce / renderer / provisiondevice / RendererServiceOperationsImpl.java
index c4941e75afdbf8986457cd825b98a4f8ae4e9b7e..baa04add60517d236ce63724abad4a5e2d8252d6 100644 (file)
@@ -650,7 +650,7 @@ public class RendererServiceOperationsImpl implements RendererServiceOperations
         sendNotifications(ServicePathNotificationTypes.ServiceDelete, serviceName, RpcStatusEx.Pending,
                 "Deleting otn-service path via renderer");
         OtnServicePathOutput result = otnDeviceRenderer.deleteOtnServicePath(ospi);
-        if (result.isSuccess()) {
+        if (result.getSuccess()) {
             sendNotificationsWithPathDescription(ServicePathNotificationTypes.ServiceDelete,
                     serviceName, RpcStatusEx.Successful, OPERATION_SUCCESSFUL, pathDescription);
             return true;