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] [Closed] (CXF-3083) Build warnings related to Generics: return type requires unchecked conversion
Date Wed, 31 Aug 2011 17:26:10 GMT

     [ https://issues.apache.org/jira/browse/CXF-3083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Liguori closed CXF-3083.
-------------------------------

    Resolution: Not A Problem

Not a problem... possible compiler bug.

> 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
>         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
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message