From: Tuukka Lehtonen Date: Tue, 20 Jun 2017 06:29:08 +0000 (+0300) Subject: RouteGraphUtils.readConnectionStyle returns default value if necessary X-Git-Tag: v1.31.0~302 X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=commitdiff_plain;h=e571f79968d4f002505f3ea11e50ac7075d492c0;hp=e571f79968d4f002505f3ea11e50ac7075d492c0 RouteGraphUtils.readConnectionStyle returns default value if necessary 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 ---