diff options
author | Henrik Rentz-Reichert | 2013-09-24 15:12:36 +0000 |
---|---|---|
committer | Henrik Rentz-Reichert | 2013-09-24 15:12:36 +0000 |
commit | 5483cf0c8bdda7b613deccfcaf810f6190144c1e (patch) | |
tree | b12eb03a71dda54f96eecb8ce43ea1fbee5c9d4b | |
parent | 90b9e1cda6bf1fc506d6a4c2bca3656e5fa7667d (diff) | |
download | org.eclipse.etrice-5483cf0c8bdda7b613deccfcaf810f6190144c1e.tar.gz org.eclipse.etrice-5483cf0c8bdda7b613deccfcaf810f6190144c1e.tar.xz org.eclipse.etrice-5483cf0c8bdda7b613deccfcaf810f6190144c1e.zip |
[generator.java] fixed indentation
2 files changed, 8 insertions, 8 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» diff --git a/plugins/org.eclipse.etrice.generator.java/xtend-gen/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.java b/plugins/org.eclipse.etrice.generator.java/xtend-gen/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.java index b4db639d2..7e141dd03 100644 --- a/plugins/org.eclipse.etrice.generator.java/xtend-gen/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.java +++ b/plugins/org.eclipse.etrice.generator.java/xtend-gen/org/eclipse/etrice/generator/java/gen/ProtocolClassGen.java @@ -432,16 +432,16 @@ public class ProtocolClassGen extends GenericProtocolClassGenerator { _builder.newLine(); } } - _builder.append("\t\t\t\t"); + _builder.append("\t\t\t"); _builder.append("if (msg instanceof EventWithDataMessage)"); _builder.newLine(); - _builder.append("\t\t\t\t\t"); + _builder.append("\t\t\t\t"); _builder.append("getActor().receiveEvent(this, msg.getEvtId(), ((EventWithDataMessage)msg).getData());"); _builder.newLine(); - _builder.append("\t\t\t\t"); + _builder.append("\t\t\t"); _builder.append("else"); _builder.newLine(); - _builder.append("\t\t\t\t\t"); + _builder.append("\t\t\t\t"); _builder.append("getActor().receiveEvent(this, msg.getEvtId(), null);"); _builder.newLine(); { |