diff options
Diffstat (limited to 'plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/commandHandlers/branch/commit/CommitIntoParentCompoundContributionItem.java')
-rw-r--r-- | plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/commandHandlers/branch/commit/CommitIntoParentCompoundContributionItem.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/commandHandlers/branch/commit/CommitIntoParentCompoundContributionItem.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/commandHandlers/branch/commit/CommitIntoParentCompoundContributionItem.java index c1eb167ee9e..b25ce2e73d5 100644 --- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/commandHandlers/branch/commit/CommitIntoParentCompoundContributionItem.java +++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/commandHandlers/branch/commit/CommitIntoParentCompoundContributionItem.java @@ -89,11 +89,10 @@ public class CommitIntoParentCompoundContributionItem extends CompoundContributi private CommandContributionItem createCommand(IOseeBranch branch, String commandId) throws OseeCoreException { Map<String, String> parameters = new HashMap<>(); - parameters.put(BranchView.BRANCH_ID, Long.toString(branch.getUuid())); + parameters.put(BranchView.BRANCH_ID, branch.getIdString()); parameters.put(CommitBranchParameter.ARCHIVE_PARENT_BRANCH, "true"); CommandContributionItem contributionItem; - String label = - "Commit into Parent Branch: " + BranchManager.getBranchName(BranchManager.getParentBranch(branch)); + String label = "Commit into Parent Branch: " + BranchManager.getBranchName(BranchManager.getParentBranch(branch)); contributionItem = new CommandContributionItem( new CommandContributionItemParameter(PlatformUI.getWorkbench().getActiveWorkbenchWindow(), label, commandId, |