You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Robert Liguori (JIRA)" <ji...@apache.org> on 2011/07/24 14:36:09 UTC

[jira] [Updated] (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:all-tabpanel ]

Robert Liguori updated CXF-3682:
--------------------------------

    Description: 
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;

==============================================================================================




  was:
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;

========================================================================================================

Note: I'm cleaning up the warnings in the sample projects, this is the first and easiest of the issues.  More will come.

The remaining issues are grouped as such:

-- Generics
sample-issue-operation
jaxws_handlers

-- Dead Code
jax_rs_basic_https

-- Unused code
restful_dispatch
wssec_sign_enc*

-- toURL() is depecated.
mtom
wsdl_first_dynamic_client
jaxws_async
jaxws_dispatch_provider
wsdl_first_soap12
wsdl_first_rpclit
soap_header
wsdl_first_xml_wrapped
configuration_interceptor*
callback*
wsdl_first*
wsdl_first_https*
ws_rm*
 
-- serialVersionUID
wsdl_first_xmlbeans
jms_spring_config
in_jvm_transport
js_client
ws_addressing
jms_spring_config
js_browser_client_simple
restful_http_binding

-- Other warnings
ws_policy
wssec_ut
wssec_ut_policy
wssec_ut_sign







> 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
>
> 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