Use JDBCUtil.close() rather than closing the statement directly because it

could conceivably be null.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@150 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2001-06-07 08:38:47 +00:00
parent 567f808c4c
commit 4cd0102c69
@@ -1,5 +1,5 @@
//
// $Id: UserRepository.java,v 1.10 2001/06/01 07:27:59 mdb Exp $
// $Id: UserRepository.java,v 1.11 2001/06/07 08:38:47 mdb Exp $
package com.samskivert.servlet.user;
@@ -332,7 +332,7 @@ public class UserRepository extends MySQLRepository
return null;
} finally {
stmt.close();
JDBCUtil.close(stmt);
}
}
});