Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2013-09-24 15:12:36 +0000
committerHenrik Rentz-Reichert2013-09-24 15:12:36 +0000
commit5483cf0c8bdda7b613deccfcaf810f6190144c1e (patch)
treeb12eb03a71dda54f96eecb8ce43ea1fbee5c9d4b /plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend
parent90b9e1cda6bf1fc506d6a4c2bca3656e5fa7667d (diff)
downloadorg.eclipse.etrice-5483cf0c8bdda7b613deccfcaf810f6190144c1e.tar.gz
org.eclipse.etrice-5483cf0c8bdda7b613deccfcaf810f6190144c1e.tar.xz
org.eclipse.etrice-5483cf0c8bdda7b613deccfcaf810f6190144c1e.zip
[generator.java] fixed indentation
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend')
-rw-r--r--plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend b/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend
index b01ececb4..93476d570 100644
--- a/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend
+++ b/plugins/org.eclipse.etrice.generator.java/src/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.xtend
@@ -165,10 +165,10 @@ class ProtocolClassGen extends GenericProtocolClassGenerator {
«ENDFOR»
default:
«ENDIF»
- if (msg instanceof EventWithDataMessage)
- getActor().receiveEvent(this, msg.getEvtId(), ((EventWithDataMessage)msg).getData());
- else
- getActor().receiveEvent(this, msg.getEvtId(), null);
+ if (msg instanceof EventWithDataMessage)
+ getActor().receiveEvent(this, msg.getEvtId(), ((EventWithDataMessage)msg).getData());
+ else
+ getActor().receiveEvent(this, msg.getEvtId(), null);
«IF pc.handlesReceive(conj)»
}
«ENDIF»

Back to the top