cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Liguori (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-3083) Build warnings related to Generics: return type requires unchecked conversion
Date Fri, 22 Oct 2010 18:50:17 GMT
Build warnings related to Generics: return type requires unchecked conversion
-----------------------------------------------------------------------------

                 Key: CXF-3083
                 URL: https://issues.apache.org/jira/browse/CXF-3083
             Project: CXF
          Issue Type: Improvement
    Affects Versions: 2.3.0
         Environment: Apache CXF 2.3.0
OS: Microsoft Windows XP, Professional, Version 2002, Service Pack 3
Build Command: (mvn -e clean install)

            Reporter: Robert Liguori
            Priority: Minor


Generic warnings are seen during the CXF Runtime HTTP Transport build.  Consider fixed based
on output suggestions or if absolutely necessary use this annotation: @SuppressWarnings("unchecked").

Related build output:

[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CXF Runtime HTTP Transport
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting C:\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\transports\http\target
[INFO] [checkstyle:checkstyle {execution: validate}]
[INFO] Starting audit...
Audit done.

[INFO] Preparing pmd:check
[INFO] [pmd:pmd {execution: pmd}]
[INFO] [pmd:check {execution: validate}]
[INFO] 
[INFO] [cxf-xml2fastinfoset:xml2fastinfoset {execution: xml2fastinfoset}]
[INFO] [cxf-xjc:xsdtojava {execution: generate-sources}]
[INFO] [remote-resources:process {execution: default}]
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 6 resources
[INFO] Copying 10 resources
[INFO] skip non existing resourceDirectory C:\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\transports\http\src\main\resources-filtered
[INFO] Copying 2 resources
[INFO] Copying 3 resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 60 source files to C:\_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\transports\http\target\classes
[WARNING] \_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\transports\http\src\main\java\org\apache\cxf\transport\http\HttpServletRequestSnapshot.java:[136,23]
getHeaders(java.lang.String) in org.apache.cxf.transport.http.HttpServletRequestSnapshot implements
getHeaders(java.lang.String) in javax.servlet.http.HttpServletRequest; return type requires
unchecked conversion
found   : java.util.Enumeration
required: java.util.Enumeration<java.lang.String>

[WARNING] \_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\transports\http\src\main\java\org\apache\cxf\transport\http\HttpServletRequestSnapshot.java:[130,23]
getHeaderNames() in org.apache.cxf.transport.http.HttpServletRequestSnapshot implements getHeaderNames()
in javax.servlet.http.HttpServletRequest; return type requires unchecked conversion
found   : java.util.Enumeration
required: java.util.Enumeration<java.lang.String>

[WARNING] \_CXF\apache-cxf-2.3.0-src\apache-cxf-2.3.0-src\rt\transports\http\src\main\java\org\apache\cxf\transport\http\HttpServletRequestSnapshot.java:[232,23]
getLocales() in org.apache.cxf.transport.http.HttpServletRequestSnapshot implements getLocales()
in javax.servlet.ServletRequest; return type requires unchecked conversion
found   : java.util.Enumeration
required: java.util.Enumeration<java.util.Locale>
...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message