diff options
author | David W. Miller | 2016-09-01 00:14:59 +0000 |
---|---|---|
committer | donald.g.dunne | 2016-09-02 00:21:34 +0000 |
commit | a53d6610d819311e6cda119a87b0bd9f975a980c (patch) | |
tree | 3bbb546bf71e0b39b705eaaa115ad90e98fe1814 /plugins | |
parent | b0355c8bce9cc4bc3afc8af6843428d4b658ac6b (diff) | |
download | org.eclipse.osee-a53d6610d819311e6cda119a87b0bd9f975a980c.tar.gz org.eclipse.osee-a53d6610d819311e6cda119a87b0bd9f975a980c.tar.xz org.eclipse.osee-a53d6610d819311e6cda119a87b0bd9f975a980c.zip |
bug: Fix GetTransactionAtDate
Change-Id: I08a17d858d50d7e7328d48d6fdb6618ce8a2ba4c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/transaction/TransactionManager.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/transaction/TransactionManager.java b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/transaction/TransactionManager.java index 145576cea75..bba7303f3ac 100644 --- a/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/transaction/TransactionManager.java +++ b/plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/transaction/TransactionManager.java @@ -11,7 +11,6 @@ package org.eclipse.osee.framework.skynet.core.transaction; import java.sql.Timestamp; -import java.text.DateFormat; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; @@ -172,11 +171,6 @@ public final class TransactionManager { try { chStmt.runPreparedQuery(SELECT_BRANCH_TRANSACTION_BY_DATE, branch, new Timestamp(maxDateExclusive.getTime())); if (chStmt.next()) { - if (chStmt.wasNull()) { - DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.LONG, DateFormat.LONG); - throw new TransactionDoesNotExist("Cannot find transaction for [%s] - the transation id was null", - dateFormat.format(maxDateExclusive)); - } txRecord = loadTransaction(chStmt); } } finally { |