Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*******************************************************************************
* SysML 2 Pilot Implementation
* Copyright (c) 2024 Model Driven Solutions, Inc.
* Copyright (c) 2024, 2025 Model Driven Solutions, Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
Expand Down Expand Up @@ -47,12 +47,12 @@ public Object dynamicInvoke(InternalEObject target, EList<?> arguments) throws I
String otherShortName = other.getMemberShortName();
String otherName = other.getMemberName();
if (memberShortName != null) {
if (memberShortName == otherShortName || memberShortName == otherName) {
if (memberShortName.equals(otherShortName) || memberShortName.equals(otherName)) {
return false;
}
}
if (memberName == null) {
if (memberName == otherShortName || memberName == otherName) {
if (memberName != null) {
if (memberName.equals(otherShortName) || memberName.equals(otherName)) {
return false;
}
}
Expand Down