summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2011-10-27 10:18:56 (EDT)
committerStephan Herrmann2012-01-14 09:06:31 (EST)
commit8ad00e64e1caa6f90336b7a9594f5694c29ac893 (patch)
tree07ed39af51acd2446befdd8881aca58d8dfad921
parenta9288a5a89e24f5be1e6a9e82c22d2faf189b500 (diff)
downloadorg.eclipse.objectteams-8ad00e64e1caa6f90336b7a9594f5694c29ac893.zip
org.eclipse.objectteams-8ad00e64e1caa6f90336b7a9594f5694c29ac893.tar.gz
org.eclipse.objectteams-8ad00e64e1caa6f90336b7a9594f5694c29ac893.tar.bz2
Fix for Bug 362200 - Failures in OTTypeHierarchyTests.
-rw-r--r--org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java
index aef9537..cea9a8b 100644
--- a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java
+++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java
@@ -542,9 +542,7 @@ private void rememberAllTypes(CompilationUnitDeclaration parsedUnit, org.eclipse
}
private void rememberWithMemberTypes(TypeDeclaration typeDecl, IType typeHandle) {
//{ObjectTeams: ensure all OT types have their OTType set:
- if ( !((CompilationUnit)typeHandle.getCompilationUnit()).isOpen()
- && (typeDecl.isTeam() || typeDecl.isDirectRole()))
- {
+ if (typeDecl.isTeam() || typeDecl.isDirectRole()) {
if (!OTModelManager.hasOTElementFor(typeHandle)) {
String baseClassName = null;
String baseClassAnchor = null;