Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2009-12-16 15:30:26 +0000
committerddunne2009-12-16 15:30:26 +0000
commitd588b2a7dce208121b0e3d6c3f4419284675c01a (patch)
tree5b569e0819a601cbfa46cc1d7af057f4c16412e5
parentdae7a8f379368d87b34daecdcdd33256bd4dd1a5 (diff)
downloadorg.eclipse.osee-d588b2a7dce208121b0e3d6c3f4419284675c01a.tar.gz
org.eclipse.osee-d588b2a7dce208121b0e3d6c3f4419284675c01a.tar.xz
org.eclipse.osee-d588b2a7dce208121b0e3d6c3f4419284675c01a.zip
added branch name to transaction record
-rw-r--r--org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/model/TransactionRecord.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/model/TransactionRecord.java b/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/model/TransactionRecord.java
index 3937b26d59c..dad1bdc73f9 100644
--- a/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/model/TransactionRecord.java
+++ b/org.eclipse.osee.framework.core/src/org/eclipse/osee/framework/core/model/TransactionRecord.java
@@ -118,7 +118,11 @@ public final class TransactionRecord implements IAdaptable {
@Override
public String toString() {
- return String.format("%s:%s", transactionNumber, getBranchId());
+ try {
+ return String.format("%s (%s:%s)", getBranch(), transactionNumber, getBranchId());
+ } catch (OseeCoreException ex) {
+ return String.format("%s:%s", transactionNumber, getBranchId());
+ }
}
public boolean isDirty() {

Back to the top