[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlbeans-dev
Subject:    [jira] Closed: (XMLBEANS-74) Sample code error
From:       "Kevin Krouse (JIRA)" <xmlbeans-dev () xml ! apache ! org>
Date:       2004-10-29 2:10:42
Message-ID: 172648100.1099015842869.JavaMail.apache () nagoya
[Download RAW message or body]

     [ 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic