浏览代码

Removed unneeded functions #194

Rene Beckmann 9 年之前
父节点
当前提交
79f1c8d9a6

+ 0 - 10
plugins/org.yakindu.sct.model.sexec/src/org/yakindu/sct/model/sexec/naming/ShortString.xtend

@@ -173,16 +173,6 @@ class ShortString {
 		removeIndex(cheapestOperation_index);
 	}
 	
-	def public int simulateRemoveCheapestChar()
-	{
-		var current_cost = getCutCost();
-		removeCheapestChar();
-		var cost_difference = getCutCost() - current_cost;
-		
-		rollback();
-		
-		return cost_difference;
-	}
 	
 	def public float getCutRatio()
 	{

+ 1 - 1
test-plugins/org.yakindu.sct.model.sexec.test/src/org/yakindu/sct/model/sexec/transformation/test/TreeNamingServiceTest.java

@@ -92,7 +92,7 @@ public class TreeNamingServiceTest extends ModelSequencerTest {
 //			statechartNamingService.setMaxLength(0);
 //			statechartNamingService.setSeparator('_');
 			
-			executionflowNamingService.setMaxLength(0);
+			executionflowNamingService.setMaxLength(15);
 			executionflowNamingService.setSeparator('_');
 			
 			// Initialize naming services for statechart and ExecutionFlow