Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraradermache2011-08-26 21:26:12 +0000
committeraradermache2011-08-26 21:26:12 +0000
commitd1baf6a8daed5547958d27c62887327d3fa5733e (patch)
treefa546a3ea75d54ce4cc9d8f1aaf255108ad18b55
parenta6c8734b21b94fa4f0160ee4d94e3ee19dd09735 (diff)
downloadorg.eclipse.papyrus-d1baf6a8daed5547958d27c62887327d3fa5733e.tar.gz
org.eclipse.papyrus-d1baf6a8daed5547958d27c62887327d3fa5733e.tar.xz
org.eclipse.papyrus-d1baf6a8daed5547958d27c62887327d3fa5733e.zip
removed obsolete code that (has been added during testing for bug 354620)
-rw-r--r--extraplugins/marte/org.eclipse.papyrus.marte.vsl/src/org/eclipse/papyrus/marte/vsl/scoping/VSLScopeProvider.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src/org/eclipse/papyrus/marte/vsl/scoping/VSLScopeProvider.java b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src/org/eclipse/papyrus/marte/vsl/scoping/VSLScopeProvider.java
index 36d109ebb40..e5e8148fdd3 100644
--- a/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src/org/eclipse/papyrus/marte/vsl/scoping/VSLScopeProvider.java
+++ b/extraplugins/marte/org.eclipse.papyrus.marte.vsl/src/org/eclipse/papyrus/marte/vsl/scoping/VSLScopeProvider.java
@@ -48,7 +48,6 @@ import org.eclipse.uml2.uml.Namespace;
import org.eclipse.uml2.uml.Operation;
import org.eclipse.uml2.uml.Parameter;
import org.eclipse.uml2.uml.ParameterDirectionKind;
-import org.eclipse.uml2.uml.PrimitiveType;
import org.eclipse.uml2.uml.Property;
import org.eclipse.uml2.uml.Stereotype;
import org.eclipse.uml2.uml.UMLPackage;
@@ -893,16 +892,6 @@ public class VSLScopeProvider extends AbstractDeclarativeScopeProvider {
resultScope = resultScope != null ? new SimpleScope(resultScope, iterableIEobjectDescriptions) : new SimpleScope(iterableIEobjectDescriptions) ;
}
}
- else if (expectedTypeForScoping instanceof PrimitiveType) {
- System.err.println("Na sowas" + VSLJavaValidator._integer);
- List<List<Element>> visibleProperties = new ArrayList<List<Element>>() ;
- visibleProperties.addAll(ScopingVisitors.ownedOrInheritedAttributes.visit(expectedTypeForScoping));
- for (List<Element> l : visibleProperties) {
- iterableIEobjectDescriptions = Scopes.scopedElementsFor(l) ;
- resultScope = resultScope != null ? new SimpleScope(resultScope, iterableIEobjectDescriptions) : new SimpleScope(iterableIEobjectDescriptions) ;
- }
- resultScope = null;
- }
else { // A tuple has been specified, and the expected type is not a tuple or choice type
// We put in the scope all the properties of NFP_Duration, since it is the only tuple type involved in operators in this implementation of VSL
// TODO This solution is temporary and MUST be generalized to any operator.

Back to the top