diff options
-rw-r--r-- | a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/clients/StdA1ClientVersion2.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/clients/StdA1ClientVersion2.java b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/clients/StdA1ClientVersion2.java index 3362b790..2f3ea8a6 100644 --- a/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/clients/StdA1ClientVersion2.java +++ b/a1-policy-management/src/main/java/org/onap/ccsdk/oran/a1policymanagementservice/clients/StdA1ClientVersion2.java @@ -59,7 +59,7 @@ public class StdA1ClientVersion2 implements A1Client { @Override public String createPutPolicyUri(String type, String policyId, String statusNotificationUri) { String policyUri = createPolicyUri(type, policyId); - if (statusNotificationUri.isEmpty()) { + if (statusNotificationUri == null || statusNotificationUri.isEmpty()) { return policyUri; } UriBuilderFactory builderFactory = new DefaultUriBuilderFactory(policyUri); |