Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/action/WasIsCompareEditorAction.java')
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/action/WasIsCompareEditorAction.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/action/WasIsCompareEditorAction.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/action/WasIsCompareEditorAction.java
index feb0cc15b32..16616ac28a2 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/action/WasIsCompareEditorAction.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/action/WasIsCompareEditorAction.java
@@ -140,10 +140,9 @@ public class WasIsCompareEditorAction extends Action {
protected String loadAttributeValue(AttributeId attrId, TransactionId transactionId, Artifact artifact) {
String appServer = OseeClientProperties.getOseeApplicationServer();
- URI uri =
- UriBuilder.fromUri(appServer).path("orcs").path("branch").path(String.valueOf(artifact.getBranchId())).path(
- "artifact").path(artifact.getIdString()).path("attribute").path(String.valueOf(attrId)).path(
- "version").path(String.valueOf(transactionId)).path("text").build();
+ URI uri = UriBuilder.fromUri(appServer).path("orcs").path("branch").path(artifact.getBranch().getIdString()).path(
+ "artifact").path(artifact.getIdString()).path("attribute").path(String.valueOf(attrId)).path("version").path(
+ String.valueOf(transactionId)).path("text").build();
try {
return JaxRsClient.newClient().target(uri).request(MediaType.TEXT_PLAIN).get(String.class);
} catch (Exception ex) {

Back to the top