Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrbrooks2010-09-22 19:08:35 -0400
committerRyan D. Brooks2010-09-22 19:08:35 -0400
commit2fce5deee8ebae9c11e8f23d9954cc064faeb5a7 (patch)
tree03590ef8bfde245a232b6956e76e49617c67ebb0 /plugins
parente899d798bb8099aa0c9911a03db5a58e235496f0 (diff)
downloadorg.eclipse.osee-2fce5deee8ebae9c11e8f23d9954cc064faeb5a7.tar.gz
org.eclipse.osee-2fce5deee8ebae9c11e8f23d9954cc064faeb5a7.tar.xz
org.eclipse.osee-2fce5deee8ebae9c11e8f23d9954cc064faeb5a7.zip
refactor: Make SubsystemToLowLevelReqTraceReport output files with unique names
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.define/src/org/eclipse/osee/define/blam/operation/SubsystemToLowLevelReqTraceReport.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.define/src/org/eclipse/osee/define/blam/operation/SubsystemToLowLevelReqTraceReport.java b/plugins/org.eclipse.osee.define/src/org/eclipse/osee/define/blam/operation/SubsystemToLowLevelReqTraceReport.java
index 078a8546ab..e6611b4fd4 100644
--- a/plugins/org.eclipse.osee.define/src/org/eclipse/osee/define/blam/operation/SubsystemToLowLevelReqTraceReport.java
+++ b/plugins/org.eclipse.osee.define/src/org/eclipse/osee/define/blam/operation/SubsystemToLowLevelReqTraceReport.java
@@ -27,6 +27,7 @@ import org.eclipse.osee.framework.core.enums.CoreRelationTypes;
import org.eclipse.osee.framework.core.exception.OseeCoreException;
import org.eclipse.osee.framework.core.model.Branch;
import org.eclipse.osee.framework.core.model.type.ArtifactType;
+import org.eclipse.osee.framework.jdk.core.util.Lib;
import org.eclipse.osee.framework.jdk.core.util.io.CharBackedInputStream;
import org.eclipse.osee.framework.jdk.core.util.io.xml.ExcelXmlWriter;
import org.eclipse.osee.framework.jdk.core.util.io.xml.ISheetWriter;
@@ -95,7 +96,7 @@ public class SubsystemToLowLevelReqTraceReport extends AbstractBlam {
generateSubsystemToLowLevelReqTrace();
excelWriter.endWorkbook();
- IFile iFile = OseeData.getIFile("Subsystem_To_Lower_Level_Trace.xml");
+ IFile iFile = OseeData.getIFile("Subsystem_To_Lower_Level_Trace_" + Lib.getDateTimeString() + ".xml");
AIFile.writeToFile(iFile, charBak);
Program.launch(iFile.getLocation().toOSString());
}
@@ -137,7 +138,7 @@ public class SubsystemToLowLevelReqTraceReport extends AbstractBlam {
excelWriter.endSheet();
}
- private boolean isLowerLevelRequirement(Artifact artifact) throws OseeCoreException {
+ private boolean isLowerLevelRequirement(Artifact artifact) {
for (ArtifactType artifactType : lowerLevelTypes) {
if (artifact.isOfType(artifactType)) {
return true;

Back to the top