This is an automated email from the ASF dual-hosted git repository. reta pushed a commit to branch 3.6.x-fixes in repository https://gitbox.apache.org/repos/asf/cxf.git
commit 6c63af536da161b34aa9786e39501e0703b0f545 Author: Andrew Gibb <[email protected]> AuthorDate: Fri Sep 20 22:48:05 2024 +1000 CXF-9060 Only import java.net.URI when necessary to avoid unused import warnings (#2075) (cherry picked from commit 61581177077eadf37960f93d4cd2a37c0c6071f8) (cherry picked from commit c0ea86138a4bbdb726ab38542aa15e8b02d6209e) --- .../java/org/apache/cxf/tools/wsdlto/frontend/jaxws/template/service.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/template/service.vm b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/template/service.vm index 72a414147c..62aebe6cf1 100644 --- a/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/template/service.vm +++ b/tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/template/service.vm @@ -23,8 +23,8 @@ package $service.PackageName; #if ($wsdlLocation != "" && not($useGetResource) && not($wsdlLocation.startsWith("classpath:"))) import java.net.MalformedURLException; -#end import java.net.URI; +#end import java.net.URL; #if ($markGenerated == "true") import javax.annotation.Generated;
