Browse Source

Added final modifier to time event setter.

Markus Mühlbrandt 10 years ago
parent
commit
8db4e0b90f

+ 1 - 1
plugins/org.yakindu.sct.generator.java/src/org/yakindu/sct/generator/java/EventBasedRunnableWrapper.xtend

@@ -153,7 +153,7 @@ class EventBasedRunnableWrapper {
 
 	def protected timingFunctions(ExecutionFlow flow, GeneratorEntry entry) '''
 		«IF flow.timed»
-			public void timeElapsed(int eventID) {
+			public void timeElapsed(final int eventID) {
 				eventQueue.add(new Runnable() {
 
 					@Override