소스 검색

Refactorings of sexec extensions.

markus.muehlbrandt@gmail.com 12 년 전
부모
커밋
4d8d7fc2f7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      plugins/org.yakindu.sct.model.sexec/src/org/yakindu/sct/model/sexec/extensions/SExecExtensions.xtend

+ 1 - 1
plugins/org.yakindu.sct.model.sexec/src/org/yakindu/sct/model/sexec/extensions/SExecExtensions.xtend

@@ -43,7 +43,7 @@ class SExecExtensions {
 	}
 	
 	def getTimeEvents(ExecutionFlow it) {
-		scopes.fold(new LinkedList<TimeEvent>, [l, s | l += s.declarations.filter(typeof(TimeEvent)) return l])
+		scopes.fold(new LinkedList<TimeEvent>, [l, s | l += s.declarations.filter(typeof(TimeEvent)) l])
 	}
 	
 	def hasHistory(ExecutionFlow it) {