Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2011-03-09 12:48:08 -0500
committerRyan D. Brooks2011-03-09 12:48:08 -0500
commit97e08238fb244fa28b4e902747612be9255ade3c (patch)
tree65f181c4220478f56788e87bb39d11f7502897fb /plugins
parent38c5d214c986c71935f83eb996e1c9995439864e (diff)
downloadorg.eclipse.osee-97e08238fb244fa28b4e902747612be9255ade3c.tar.gz
org.eclipse.osee-97e08238fb244fa28b4e902747612be9255ade3c.tar.xz
org.eclipse.osee-97e08238fb244fa28b4e902747612be9255ade3c.zip
feature: Coverage - Throw exception and dialog if loading coverage package exceptions
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/editor/CoverageEditor.java18
1 files changed, 7 insertions, 11 deletions
diff --git a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/editor/CoverageEditor.java b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/editor/CoverageEditor.java
index 1bfd2028a81..35ab3d17b6c 100644
--- a/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/editor/CoverageEditor.java
+++ b/plugins/org.eclipse.osee.coverage/src/org/eclipse/osee/coverage/editor/CoverageEditor.java
@@ -107,19 +107,15 @@ public class CoverageEditor extends FormEditor implements IActionable {
@SuppressWarnings("unused")
Collection<Artifact> artifactLoadCache = null;
if (getCoverageEditorInput().getCoveragePackageArtifact() != null) {
- try {
// ElapsedTime elapsedTime = new ElapsedTime("Coverage - bulk load");
- artifactLoadCache =
- RelationManager.getRelatedArtifacts(
- Collections.singleton(getCoverageEditorInput().getCoveragePackageArtifact()), 8,
- CoreRelationTypes.Default_Hierarchical__Child);
- // TODO Need to bulk load binary attributes also; Some Coverage Items are binary attributes
- // that are not bulk loaded with attributes. This was mitigated by moving test units to seperate table
- // and only referencing their ids in Coverage Items.
+ artifactLoadCache =
+ RelationManager.getRelatedArtifacts(
+ Collections.singleton(getCoverageEditorInput().getCoveragePackageArtifact()), 8,
+ CoreRelationTypes.Default_Hierarchical__Child);
+ // TODO Need to bulk load binary attributes also; Some Coverage Items are binary attributes
+ // that are not bulk loaded with attributes. This was mitigated by moving test units to separate table
+ // and only referencing their ids in Coverage Items.
// elapsedTime.end();
- } catch (OseeCoreException ex) {
- OseeLog.log(Activator.class, Level.SEVERE, ex);
- }
}
if (getCoverageEditorInput().getCoveragePackageArtifact() != null) {
// ElapsedTime elapsedTime = new ElapsedTime("Coverage - load model");

Back to the top