Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2010-03-22 21:29:44 +0000
committerddunne2010-03-22 21:29:44 +0000
commitc9f97de1c1b66becdc65c48538e6c3e8ec3836c3 (patch)
treea881b62e1c17c0fabd1762c702d649b9582f6c7f
parenta6135aa020a89a18451e771dd5b9f88e496b6db7 (diff)
downloadorg.eclipse.osee-c9f97de1c1b66becdc65c48538e6c3e8ec3836c3.tar.gz
org.eclipse.osee-c9f97de1c1b66becdc65c48538e6c3e8ec3836c3.tar.xz
org.eclipse.osee-c9f97de1c1b66becdc65c48538e6c3e8ec3836c3.zip
update cte pcr created date
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/ATSLog.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/ATSLog.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/ATSLog.java
index 3ecaf3e1a1..846b66376a 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/ATSLog.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/artifact/ATSLog.java
@@ -179,6 +179,17 @@ public class ATSLog {
}
}
+ public void setCreationDate(Date date) throws OseeCoreException {
+ List<LogItem> logItems = getLogItems();
+ for (LogItem item : logItems) {
+ if (item.getType() == LogType.Originated) {
+ item.setDate(date);
+ putLogItems(logItems);
+ return;
+ }
+ }
+ }
+
/**
* Since originator can be changed, return the date of the first originated log item
*/

Back to the top