Skip to content

Commit 398cfc7

Browse files
committed
minor fix for the auto-creation of connections from Sirius
1 parent fe6cecf commit 398cfc7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

plugins/de.fraunhofer.ipa.ros.sirius/src/de/fraunhofer/ipa/ros/sirius/ConnectionsCheckUtils.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ static List<DView> getDiagramViews(EObject diagram) {
5252
}
5353

5454
static boolean containEqualCommunicationObjects(SpecBase message1, SpecBase message2) {
55-
55+
if (message1==null | message2==null) {
56+
return false;
57+
}
5658
boolean haveEqualName = false;
5759
if (message1.isSetFullname() && message2.isSetFullname()) {
5860
if (message1.getFullname().equals(message2.getFullname())) {

0 commit comments

Comments
 (0)