瀏覽代碼

removed warnings

andreas muelder 7 年之前
父節點
當前提交
0ec42bbe11

+ 1 - 0
plugins/org.yakindu.sct.doc.user/META-INF/MANIFEST.MF

@@ -4,3 +4,4 @@ Bundle-Name: YAKINDU User Help
 Bundle-SymbolicName: org.yakindu.sct.doc.user;singleton:=true
 Bundle-Version: 3.3.0.qualifier
 Bundle-Vendor: statecharts.org
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8

+ 1 - 1
plugins/org.yakindu.sct.generator.cpp/src/org/yakindu/sct/generator/cpp/StatemachineHeader.xtend

@@ -221,7 +221,7 @@ class StatemachineHeader extends org.yakindu.sct.generator.c.StatemachineHeader
 		'''
 	
 
-	def dispatch privateFunctionPrototypes(Declaration it) {
+	def privateFunctionPrototypes(Declaration it) {
 		''''''	
 	}
 	

+ 1 - 1
plugins/org.yakindu.sct.generator.cpp/src/org/yakindu/sct/generator/cpp/eventdriven/EventDrivenStatemachineHeader.xtend

@@ -90,7 +90,7 @@ class EventDrivenStatemachineHeader extends StatemachineHeader {
 		'''
 	}
 	
-	def dispatch privateFunctionPrototypes(EventDefinition it) {
+	def privateFunctionPrototypes(EventDefinition it) {
 		'''
 		«IF direction == Direction::LOCAL»
 			/*! Raises the in event '«name»' that is defined in the «scope.scopeDescription». */

+ 0 - 2
test-plugins/org.yakindu.sct.model.stext.test/src/org/yakindu/sct/model/stext/test/util/AbstractTypeInferrerTest.java

@@ -49,12 +49,10 @@ public abstract class AbstractTypeInferrerTest extends AbstractSTextTest {
 		return inferTypeResult(expression, Expression.class.getSimpleName(), scopes);
 	}
 	
-	@Deprecated
 	protected Type inferTypeForExpression(String expression, String scopes) {
 		return inferType(expression, Expression.class.getSimpleName(), scopes);
 	}
 
-	@Deprecated
 	protected Type inferType(String expression, String parserRule, String scopes) {
  		InferenceResult inferTypeResult = inferTypeResult(expression, parserRule, scopes);
 		if(inferTypeResult == null)