diff options
author | donald.g.dunne | 2017-10-31 19:17:27 +0000 |
---|---|---|
committer | donald.g.dunne | 2017-10-31 19:17:27 +0000 |
commit | 3507b790e025b6f92a47a31b22f4b282f3d9b963 (patch) | |
tree | 15520d07967e948f6872a998c136a90f1bd33add /plugins/org.eclipse.osee.framework.skynet.core | |
parent | 0040fa40d36c58d626660008be0a947be4036fdc (diff) | |
download | org.eclipse.osee-3507b790e025b6f92a47a31b22f4b282f3d9b963.tar.gz org.eclipse.osee-3507b790e025b6f92a47a31b22f4b282f3d9b963.tar.xz org.eclipse.osee-3507b790e025b6f92a47a31b22f4b282f3d9b963.zip |
bug[ats_TW2861]: Improve performance of change reports
Change-Id: I304a7848e19946bf606514d737c4933bd0ec6d7d
Diffstat (limited to 'plugins/org.eclipse.osee.framework.skynet.core')
-rw-r--r-- | plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/change/AttributeChange.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/change/AttributeChange.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/change/AttributeChange.java index eb2c4d0afaf..7916d5c4ef4 100644 --- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/change/AttributeChange.java +++ b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/change/AttributeChange.java @@ -60,8 +60,8 @@ public final class AttributeChange extends Change { this.attrId = attrId; this.attributeType = attributeType; this.artModType = artModType; - this.isValue = null; - this.wasValue = null; + this.isValue = isValue; + this.wasValue = wasValue; } @Override @@ -110,7 +110,7 @@ public final class AttributeChange extends Change { @Override public String getIsValue() { - if (isValue == null) { + if (isValue == null && wasIsProvider != null) { isValue = wasIsProvider.getIsValue(); } return isValue != null ? isValue : ""; @@ -118,7 +118,7 @@ public final class AttributeChange extends Change { @Override public String getWasValue() { - if (wasValue == null) { + if (wasValue == null && wasIsProvider != null) { wasValue = wasIsProvider.getWasValue(); } return wasValue != null ? wasValue : ""; |