You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2011/07/26 04:33:10 UTC

[jira] [Commented] (CXF-3682) CXF Example: java_first_jaxws, Warnings: Unused imports

    [ https://issues.apache.org/jira/browse/CXF-3682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070905#comment-13070905 ] 

Glen Mazza commented on CXF-3682:
---------------------------------

Actually unused and *-imports (import org.foo.bar.*) are legitimate complaints, thanks for letting us know.

Best to send your patches as an attachment in JIRA, so you can grant the CXF project licensing rights to them.  Also, the svn client you use to grab the source code can generate the diff file like so:

c:\CXF-TRUNK (or any child folder of same)>svn diff > myChanges.patch

Creating your patch file via command-line SVN also has the benefits of being able capture changes to many files at once.  That said, generally best not to modify more than 15-20 or so files at once, so other commits won't conflict with what you send.

> CXF Example: java_first_jaxws, Warnings: Unused imports
> -------------------------------------------------------
>
>                 Key: CXF-3682
>                 URL: https://issues.apache.org/jira/browse/CXF-3682
>             Project: CXF
>          Issue Type: Improvement
>          Components: Samples
>    Affects Versions: 2.4.1
>         Environment: Java First demo using JAX-WS APIs (java_first_jaxws)
>            Reporter: Robert Liguori
>            Assignee: Robert Liguori
>            Priority: Trivial
>             Fix For: 2.4.2
>
>
> The Java First demo using JAX-WS APIs (java_first_jaxws) sample projects has unused imports.  The below *two* diffs resolve the imports.  Please apply.
> ========================================================================================================
> # This patch file was generated by NetBeans IDE
> # It uses platform neutral UTF-8 encoding and \n newlines.
> --- C:\apache-cxf-2.4.1\samples\java_first_jaxws\src\demo\hw\client\Client.java
> +++ C:\Diffs\New\Client.java
> @@ -20,7 +20,6 @@
>  package demo.hw.client;
>  
>  import java.util.Map;
> -import java.util.Map.Entry;
>  
>  import javax.xml.namespace.QName;
>  import javax.xml.ws.Service;
> ==============================================================================================
> # This patch file was generated by NetBeans IDE
> # It uses platform neutral UTF-8 encoding and \n newlines.
> --- C:\apache-cxf-2.4.1\samples\java_first_jaxws\src\demo\hw\server\IntegerUserMapAdapter.java
> +++ C:\Diffs\New\IntegerUserMapAdapter.java
> @@ -21,7 +21,6 @@
>  
>  import java.util.LinkedHashMap;
>  import java.util.Map;
> -import java.util.Map.Entry;
>  
>  import javax.xml.bind.annotation.adapters.XmlAdapter;
> ==============================================================================================

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira