diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/data/HasBranch.java')
-rw-r--r-- | plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/data/HasBranch.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/data/HasBranch.java b/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/data/HasBranch.java index c6251b67ee7..b2dda8d5593 100644 --- a/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/data/HasBranch.java +++ b/plugins/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/data/HasBranch.java @@ -31,7 +31,7 @@ public interface HasBranch { return other == null ? false : getBranchId().equals(other.getBranchId()); } - default boolean isOnBranch(IOseeBranch branch) { - return getBranchId().equals(branch.getUuid()); + default boolean isOnBranch(BranchId branch) { + return branch != null && getBranchId().equals(branch.getId()); } }
\ No newline at end of file |