Bug 68996 - [1.5] Can only interate over an array or an instance of java.lang.Iterable
Summary: [1.5] Can only interate over an array or an instance of java.lang.Iterable
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.1 M1   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-30 08:49 EDT by Timo Nentwig CLA
Modified: 2004-10-27 06:51 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Nentwig CLA 2004-06-30 08:49:53 EDT
Cheetah 0.6 marks this as an error:

for( final Iterator it : element.nodeIterator() )

element.nodeIterator() is part of the dom4j 1.5b2 API and does return
java.util.Iterator. javac compiles it perfectly.
Comment 1 Timo Nentwig CLA 2004-06-30 09:04:24 EDT
nonsense.