Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrbrooks2010-10-06 21:24:15 +0000
committerRyan D. Brooks2010-10-06 21:24:15 +0000
commita0e7caf87b82af58e532cd1f24dd600792a0dadb (patch)
tree3116a7b45cd6fb40cc19dcadc95c117f190b06bb /plugins/org.eclipse.osee.framework.core.dsl.integration
parentff0e2aeef80d206c5f7a7e8666895571186e3f89 (diff)
downloadorg.eclipse.osee-a0e7caf87b82af58e532cd1f24dd600792a0dadb.tar.gz
org.eclipse.osee-a0e7caf87b82af58e532cd1f24dd600792a0dadb.tar.xz
org.eclipse.osee-a0e7caf87b82af58e532cd1f24dd600792a0dadb.zip
refactor: Make RelationTypeSide use relation type tokens
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl.integration')
-rw-r--r--plugins/org.eclipse.osee.framework.core.dsl.integration/src/org/eclipse/osee/framework/core/dsl/integration/internal/RelationTypeRestrictionHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl.integration/src/org/eclipse/osee/framework/core/dsl/integration/internal/RelationTypeRestrictionHandler.java b/plugins/org.eclipse.osee.framework.core.dsl.integration/src/org/eclipse/osee/framework/core/dsl/integration/internal/RelationTypeRestrictionHandler.java
index 2b5d591f79..c9845ec92f 100644
--- a/plugins/org.eclipse.osee.framework.core.dsl.integration/src/org/eclipse/osee/framework/core/dsl/integration/internal/RelationTypeRestrictionHandler.java
+++ b/plugins/org.eclipse.osee.framework.core.dsl.integration/src/org/eclipse/osee/framework/core/dsl/integration/internal/RelationTypeRestrictionHandler.java
@@ -50,7 +50,7 @@ public class RelationTypeRestrictionHandler implements RestrictionHandler<Relati
XRelationSideEnum restrictedSide = restriction.getRestrictedToSide();
IRelationType typeToMatch = OseeUtil.toToken(relationTypeRef);
- RelationType relationType = getRelationTypes(typeToMatch, artifactData);
+ RelationType relationType = getRelationType(typeToMatch, artifactData);
if (relationType != null) {
ArtifactType artifactType = artifactData.getArtifactType();
for (RelationSide relationSide : RelationSide.values()) {
@@ -68,7 +68,7 @@ public class RelationTypeRestrictionHandler implements RestrictionHandler<Relati
}
}
- private RelationType getRelationTypes(IRelationType typeToMatch, ArtifactData artifact) throws OseeCoreException {
+ private RelationType getRelationType(IRelationType typeToMatch, ArtifactData artifact) throws OseeCoreException {
RelationType toReturn = null;
Collection<RelationType> relationTypes = artifact.getValidRelationTypes();
for (RelationType relationType : relationTypes) {

Back to the top