OPENJPA-676 remove extraneous cast

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@683299 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Dick 2008-08-06 15:34:33 +00:00
parent ce3f368ab0
commit 62a6555c89
1 changed files with 1 additions and 2 deletions

View File

@ -184,9 +184,8 @@ public abstract class AbstractJDBCSeq
// The seq is part of the business transaction however we need
// to decrement the ref count so that the connection may be
// closed appropriately.
if(conn instanceof RefCountConnection) {
try {
((RefCountConnection)conn).close();
conn.close();
}
catch(SQLException se) {
throw SQLExceptions.getStore(se);