Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2010-05-03 16:32:34 -0400
committerrescobar2010-05-03 16:32:34 -0400
commit0f9d2b415732011c2de19d3c23a9a00e6993f802 (patch)
tree7a81f6eec57564c1f313404d39bb21c7611a8a9b
parent3caa0987aef2727d8a8567e29631bdda2d1399cb (diff)
downloadorg.eclipse.osee-0f9d2b415732011c2de19d3c23a9a00e6993f802.tar.gz
org.eclipse.osee-0f9d2b415732011c2de19d3c23a9a00e6993f802.tar.xz
org.eclipse.osee-0f9d2b415732011c2de19d3c23a9a00e6993f802.zip
"Team Workflow" - UR8MZ - "Word Change Report Showing Changes Incorrectly"
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/RenderingUtil.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/RenderingUtil.java b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/RenderingUtil.java
index 567dfca761..ef0d99525a 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/RenderingUtil.java
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/src/org/eclipse/osee/framework/ui/skynet/render/RenderingUtil.java
@@ -61,8 +61,8 @@ public final class RenderingUtil {
artFile1 = null;
artFile2 = delta.getStartArtifact();
} else {
- artFile1 = delta.getEndArtifact();
- artFile2 = delta.getStartArtifact();
+ artFile1 = delta.getStartArtifact();
+ artFile2 = delta.getEndArtifact();
}
} else {
// Assumptions - when comparing data between transactions on the same branch, the end artifact will never be null;
@@ -70,6 +70,9 @@ public final class RenderingUtil {
if (modType.isDeleted()) {
artFile1 = delta.getStartArtifact();
artFile2 = null;
+ } else if ((modType == ModificationType.INTRODUCED || modType == ModificationType.NEW) && delta.getStartArtifact() == null) {
+ artFile1 = null;
+ artFile2 = delta.getEndArtifact();
} else {
artFile1 = delta.getEndArtifact();
artFile2 = delta.getStartArtifact();

Back to the top