Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid W. Miller2016-08-31 20:14:59 -0400
committerdonald.g.dunne2016-09-01 20:21:34 -0400
commita53d6610d819311e6cda119a87b0bd9f975a980c (patch)
tree3bbb546bf71e0b39b705eaaa115ad90e98fe1814
parentb0355c8bce9cc4bc3afc8af6843428d4b658ac6b (diff)
downloadorg.eclipse.osee-a53d6610d819311e6cda119a87b0bd9f975a980c.tar.gz
org.eclipse.osee-a53d6610d819311e6cda119a87b0bd9f975a980c.tar.xz
org.eclipse.osee-a53d6610d819311e6cda119a87b0bd9f975a980c.zip
bug: Fix GetTransactionAtDate
-rw-r--r--plugins/org.eclipse.osee.framework.skynet.core/src/org/eclipse/osee/framework/skynet/core/transaction/TransactionManager.java6
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 145576cea7..bba7303f3a 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 {

Back to the top