]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
RouteGraphUtils.readConnectionStyle returns default value if necessary 43/643/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 20 Jun 2017 06:29:08 +0000 (09:29 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 20 Jun 2017 06:29:08 +0000 (09:29 +0300)
Previously the code would crash with NPE if the ontology/model was not
created to contain STR.HasConnectionType information accordingly. Now it
will just return ExampleConnectionStyle if there is no modelled
information available.

refs #7323

Change-Id: I3d5b5ba6a4e615d7ae120e42aa003c787617b8d0


No differences found