You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "Andreas Beeker (Jira)" <ji...@apache.org> on 2022/02/09 20:50:00 UTC

[jira] [Commented] (XMLBEANS-592) still some generated code that use List return type without setting the inner type (generics)

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

Andreas Beeker commented on XMLBEANS-592:
-----------------------------------------

if you look for those occurrences at build/generated/sources/base/main, they are all part of XmlAnySimpleType implementations.

I don't think it will be feasible to provide an java.lang.Object alternative. Any polymorphic solution would be more complex than simply instance checking the return type for a primitive wrapper.

> still some generated code that use List return type without setting the inner type (generics)
> ---------------------------------------------------------------------------------------------
>
>                 Key: XMLBEANS-592
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-592
>             Project: XMLBeans
>          Issue Type: Improvement
>            Reporter: PJ Fanning
>            Priority: Minor
>
> java.util.List getListValue();
> java.util.List xgetListValue();



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org