You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Kevin Krouse (JIRA)" <xm...@xml.apache.org> on 2004/10/29 04:10:42 UTC

[jira] Closed: (XMLBEANS-74) Sample code error

     [ http://issues.apache.org/jira/browse/XMLBEANS-74?page=history ]
     
Kevin Krouse closed XMLBEANS-74:
--------------------------------


> Sample code error
> -----------------
>
>          Key: XMLBEANS-74
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-74
>      Project: XMLBeans
>         Type: Bug
>   Components: Samples
>     Versions: Version 1.0.3
>  Environment: Windows XP SP2, JDK 1.4.2
>     Reporter: Lascar Anderssen
>     Priority: Minor

>
> The following file:
> xmlbeans-1.0.3\samples\enumeration\SchemaEnum\src\org\apache\xmlbeans\samples\enumeration\SchemaEnum.java
> breaks the Samples build due to an error in code on line 116:
>  LineItem items = po.getLineItemArray();
> the return type of getLineItemArray() is an array, yet items is not defined as such. 
> the correct line should be:
> LineItem[] items = po.getLineItemArray();
> so compilation will be successful

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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