Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngel Avila2017-02-14 15:17:45 -0500
committerAngel Avila2017-02-17 15:16:13 -0500
commitbe680f05f294396e243e8e04275bdd6178dbb56a (patch)
treecaced9127ac83f848fde11f561f12d38454b1286
parent9bd000cb614f90a4041b23be5982e4db90a4e7ca (diff)
downloadorg.eclipse.osee-be680f05f294396e243e8e04275bdd6178dbb56a.tar.gz
org.eclipse.osee-be680f05f294396e243e8e04275bdd6178dbb56a.tar.xz
org.eclipse.osee-be680f05f294396e243e8e04275bdd6178dbb56a.zip
refinement: Include file number in compare operations for Coverage
-rw-r--r--plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/importer/DispoSetCopier.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/importer/DispoSetCopier.java b/plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/importer/DispoSetCopier.java
index 82e6ae045e..483f725b77 100644
--- a/plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/importer/DispoSetCopier.java
+++ b/plugins/org.eclipse.osee.disposition.rest/src/org/eclipse/osee/disposition/rest/internal/importer/DispoSetCopier.java
@@ -89,7 +89,9 @@ public class DispoSetCopier {
destItem = itemsWithSameName.iterator().next();
} else {
for (DispoItemData itemWithSameName : itemsWithSameName) {
- if (itemWithSameName.getMethodNumber().equals(sourceItem.getMethodNumber())) {
+ if (itemWithSameName.getMethodNumber().equals(
+ sourceItem.getMethodNumber()) && itemWithSameName.getFileNumber().equals(
+ sourceItem.getFileNumber())) {
destItem = itemWithSameName;
}
}

Back to the top