Bug 68996

Summary: [1.5] Can only interate over an array or an instance of java.lang.Iterable
Product: [Eclipse Project] JDT Reporter: Timo Nentwig <eclipse>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M1   
Hardware: PC   
OS: Linux   
Whiteboard:

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.