From c50a4a497e9cee3d7f4aabca4e126cb7582690c0 Mon Sep 17 00:00:00 2001 From: Nuvindu Date: Fri, 3 Nov 2023 10:17:25 +0530 Subject: [PATCH] Apply suggestions from the review --- ballerina/modules/soap11/soap11.bal | 2 +- ballerina/modules/soap12/soap12.bal | 2 +- .../java/{org => io/ballerina/lib}/soap/ExecutionCallback.java | 2 +- native/src/main/java/{org => io/ballerina/lib}/soap/Soap.java | 2 +- spotbugs-exclude.xml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename native/src/main/java/{org => io/ballerina/lib}/soap/ExecutionCallback.java (98%) rename native/src/main/java/{org => io/ballerina/lib}/soap/Soap.java (99%) diff --git a/ballerina/modules/soap11/soap11.bal b/ballerina/modules/soap11/soap11.bal index 81a4ce9..a7eeb8e 100644 --- a/ballerina/modules/soap11/soap11.bal +++ b/ballerina/modules/soap11/soap11.bal @@ -60,7 +60,7 @@ public isolated client class Client { remote isolated function sendReceive(xml|mime:Entity[] body, string action, map headers = {}, string path = "", typedesc T = <>) returns T|Error = @java:Method { - 'class: "org.soap.Soap", + 'class: "io.ballerina.lib.soap.Soap", name: "sendReceive11" } external; diff --git a/ballerina/modules/soap12/soap12.bal b/ballerina/modules/soap12/soap12.bal index c047063..d69833a 100644 --- a/ballerina/modules/soap12/soap12.bal +++ b/ballerina/modules/soap12/soap12.bal @@ -60,7 +60,7 @@ public isolated client class Client { remote isolated function sendReceive(xml|mime:Entity[] body, string? action = (), map headers = {}, string path = "", typedesc T = <>) returns T|Error = @java:Method { - 'class: "org.soap.Soap", + 'class: "io.ballerina.lib.soap.Soap", name: "sendReceive12" } external; diff --git a/native/src/main/java/org/soap/ExecutionCallback.java b/native/src/main/java/io/ballerina/lib/soap/ExecutionCallback.java similarity index 98% rename from native/src/main/java/org/soap/ExecutionCallback.java rename to native/src/main/java/io/ballerina/lib/soap/ExecutionCallback.java index 454ac35..4f17f34 100644 --- a/native/src/main/java/org/soap/ExecutionCallback.java +++ b/native/src/main/java/io/ballerina/lib/soap/ExecutionCallback.java @@ -14,7 +14,7 @@ // specific language governing permissions and limitations // under the License. -package org.soap; +package io.ballerina.lib.soap; import io.ballerina.runtime.api.Future; import io.ballerina.runtime.api.async.Callback; diff --git a/native/src/main/java/org/soap/Soap.java b/native/src/main/java/io/ballerina/lib/soap/Soap.java similarity index 99% rename from native/src/main/java/org/soap/Soap.java rename to native/src/main/java/io/ballerina/lib/soap/Soap.java index fe1e33f..eb76da0 100644 --- a/native/src/main/java/org/soap/Soap.java +++ b/native/src/main/java/io/ballerina/lib/soap/Soap.java @@ -14,7 +14,7 @@ // specific language governing permissions and limitations // under the License. -package org.soap; +package io.ballerina.lib.soap; import io.ballerina.runtime.api.Environment; import io.ballerina.runtime.api.Future; diff --git a/spotbugs-exclude.xml b/spotbugs-exclude.xml index 14fcc1f..e22fda1 100644 --- a/spotbugs-exclude.xml +++ b/spotbugs-exclude.xml @@ -17,7 +17,7 @@ --> - +