summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2018-08-07 18:13:22 -0400
committerStephan Herrmann2018-08-07 18:13:22 -0400
commitc3543aa3c1df9a2ee0703d93d66a9d1185d24570 (patch)
tree20738a4bed65aa52a0d643a346537c0c48e97526
parentcc87f1eabbb8cd15af5595d040afb2598902a75a (diff)
downloadorg.eclipse.objectteams-c3543aa3c1df9a2ee0703d93d66a9d1185d24570.tar.gz
org.eclipse.objectteams-c3543aa3c1df9a2ee0703d93d66a9d1185d24570.tar.xz
org.eclipse.objectteams-c3543aa3c1df9a2ee0703d93d66a9d1185d24570.zip
Bug 537772 - Attribute OTCompilerVersion should not be set for o.o.Team
- fix regression in InheritanceHierarchyOfTeams.testBug506740
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/objectteams/otdt/internal/core/compiler/model/TeamModel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/objectteams/otdt/internal/core/compiler/model/TeamModel.java b/org.eclipse.jdt.core/compiler/org/eclipse/objectteams/otdt/internal/core/compiler/model/TeamModel.java
index 32e4f209e..8f8b46e52 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/objectteams/otdt/internal/core/compiler/model/TeamModel.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/objectteams/otdt/internal/core/compiler/model/TeamModel.java
@@ -1016,7 +1016,7 @@ public class TeamModel extends TypeModel {
/** Update all recorded accessIds to stay clear of id ranges used by super teams. */
public int updateDecapsAccessIds() {
- if (this.accessIdOffset > -1 || getWeavingScheme() != WeavingScheme.OTDRE) return this.accessIdOffset;
+ if (this.accessIdOffset > -1 || getWeavingScheme() == WeavingScheme.OTRE) return this.accessIdOffset;
this.accessIdOffset = 0;