Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2014-04-11 22:58:39 +0000
committerdonald.g.dunne2014-04-17 19:32:48 +0000
commit3363a8595cc57c5daab7d5c30904542eaaeeca88 (patch)
treeaba2b0b21c7f012e81e1ba2936f3802fbbcca791 /plugins/org.eclipse.osee.disposition.rest
parent2fc25e509bed2f4d74b9f84fc7afdb103b8f514c (diff)
downloadorg.eclipse.osee-3363a8595cc57c5daab7d5c30904542eaaeeca88.tar.gz
org.eclipse.osee-3363a8595cc57c5daab7d5c30904542eaaeeca88.tar.xz
org.eclipse.osee-3363a8595cc57c5daab7d5c30904542eaaeeca88.zip
feature[ats_ATS19845]: Misc branch uuid cleanup
Diffstat (limited to 'plugins/org.eclipse.osee.disposition.rest')
-rw-r--r--plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/OrcsStorageImpl.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/OrcsStorageImpl.java b/plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/OrcsStorageImpl.java
index 30acdfe0086..d27848643cf 100644
--- a/plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/OrcsStorageImpl.java
+++ b/plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/OrcsStorageImpl.java
@@ -406,14 +406,13 @@ public class OrcsStorageImpl implements Storage {
Pattern regex = Pattern.compile(baselineBranch.getUuid() + "\\s*:\\s*.*");
Matcher matcher = regex.matcher(configContents);
- String guid = null;
if (matcher.find()) {
String match = matcher.group();
String[] split = match.split(":");
toReturn = TokenFactory.createBranch(Long.valueOf(split[1]), baselineBranch.getName());
}
- regex = Pattern.compile(baselineBranch.getGuid() + "\\s*:\\s*.*");
+ regex = Pattern.compile(baselineBranch.getUuid() + "\\s*:\\s*.*");
matcher = regex.matcher(configContents);
Long uuid = null;
if (matcher.find()) {

Back to the top