Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2013-04-08 09:40:24 -0400
committerHenrik Rentz-Reichert2013-04-08 09:40:24 -0400
commitf4333b09a2e4b1448b8de8c8b14fb22c12fd084d (patch)
tree7b50d6b444abf9c4be69cbfb55ecb01172007686 /plugins/org.eclipse.etrice.generator.config/xtend-gen/org
parentea991e6da9650840de79381d5bf11a8cfe77689f (diff)
downloadorg.eclipse.etrice-f4333b09a2e4b1448b8de8c8b14fb22c12fd084d.tar.gz
org.eclipse.etrice-f4333b09a2e4b1448b8de8c8b14fb22c12fd084d.tar.xz
org.eclipse.etrice-f4333b09a2e4b1448b8de8c8b14fb22c12fd084d.zip
reduced warnings
Diffstat (limited to 'plugins/org.eclipse.etrice.generator.config/xtend-gen/org')
-rw-r--r--plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java19
1 files changed, 15 insertions, 4 deletions
diff --git a/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java b/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java
index 11faac3fc..07e9fa9c0 100644
--- a/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java
+++ b/plugins/org.eclipse.etrice.generator.config/xtend-gen/org/eclipse/etrice/generator/config/DataConfiguration.java
@@ -173,10 +173,21 @@ public class DataConfiguration implements IDataConfiguration {
}
public int getPollingTimerUser(final SubSystemInstance subsystem) {
- SubSystemConfig _config = this.getConfig(subsystem);
- DynamicConfig _dynConfig = _config==null?(DynamicConfig)null:_config.getDynConfig();
- int _polling = _dynConfig==null?0:_dynConfig.getPolling();
- return _polling;
+ int _xblockexpression = (int) 0;
+ {
+ SubSystemConfig _config = this.getConfig(subsystem);
+ final DynamicConfig dynConf = _config==null?(DynamicConfig)null:_config.getDynConfig();
+ int _xifexpression = (int) 0;
+ boolean _equals = Objects.equal(dynConf, null);
+ if (_equals) {
+ _xifexpression = 0;
+ } else {
+ int _polling = dynConf.getPolling();
+ _xifexpression = _polling;
+ }
+ _xblockexpression = (_xifexpression);
+ }
+ return _xblockexpression;
}
public String getUserCode1(final SubSystemInstance subsystem) {

Back to the top