Eliminate check for impossible nullness.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2715 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -218,7 +218,7 @@ public class SimpleRepository extends Repository
|
|||||||
} catch (PersistenceException pe) {
|
} catch (PersistenceException pe) {
|
||||||
// back out our changes if something got hosed
|
// back out our changes if something got hosed
|
||||||
try {
|
try {
|
||||||
if (supportsTransactions && conn != null && !conn.isClosed()) {
|
if (supportsTransactions && !conn.isClosed()) {
|
||||||
conn.rollback();
|
conn.rollback();
|
||||||
}
|
}
|
||||||
} catch (SQLException rbe) {
|
} catch (SQLException rbe) {
|
||||||
|
|||||||
Reference in New Issue
Block a user