Summary: | [model] ImportContainer.hasChildren() should not return true | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Rodrigo Peretti <rodrigo> |
Component: | Core | Assignee: | Jerome Lanneluc <jerome_lanneluc> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 M5 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Rodrigo Peretti
2004-10-21 13:31:46 EDT
Removed implementation of ImportContainer#hasChildren() so that the super implementation is used. This now follows the spec that says that a JavaModelException must ne thrown if the element does not exist. An import container exists only if it has at least one children. Added regression test CompilationUnitTests#testImportContainerHasChildren() Verified in I20050214-0927 |