Skip to content

Commit

Permalink
CXF-9060 Only import java.net.URI when necessary to avoid unused impo…
Browse files Browse the repository at this point in the history
…rt warnings (#2075)

(cherry picked from commit 6158117)
  • Loading branch information
instagibb authored and reta committed Sep 21, 2024
1 parent 5796cb7 commit c0ea861
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 jakarta.annotation.Generated;
Expand Down

0 comments on commit c0ea861

Please sign in to comment.