Search the web
Sign In
New User? Sign Up
congo-dev
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
r4451 - /congo/branches/congo-2.0.0.2/src/main/java/com/stonekeep/co   Message List  
Reply | Forward Message #1771 of 1893 |
Author: ojacobson
Date: Tue Jun 30 10:24:40 2009
New Revision: 4451

Log:
Minor thinko in HistoryDAO.list that could, in extremis, lead to a connection
leak.

Modified:

congo/branches/congo-2.0.0.2/src/main/java/com/stonekeep/congo/dao/HistoryDAO.ja\
va

Modified:
congo/branches/congo-2.0.0.2/src/main/java/com/stonekeep/congo/dao/HistoryDAO.ja\
va
==============================================================================
---
congo/branches/congo-2.0.0.2/src/main/java/com/stonekeep/congo/dao/HistoryDAO.ja\
va [iso-8859-1] (original)
+++
congo/branches/congo-2.0.0.2/src/main/java/com/stonekeep/congo/dao/HistoryDAO.ja\
va [iso-8859-1] Tue Jun 30 10:24:40 2009
@@ -57,8 +57,8 @@

public ArrayList<History> list(int rid) throws SQLException {
logger.debug("Listing history records for registrant " + rid);
+ ArrayList<History> tmpList = new ArrayList<History>();
Connection c = dataSource.getConnection();
- ArrayList<History> tmpList = new ArrayList<History>();
try {
PreparedStatement p;
p = c.prepareStatement(SQL_LIST_HISTORY) ;




Tue Jun 30, 2009 2:24 pm

svn@...
Send Email Send Email

Forward
Message #1771 of 1893 |
Expand Messages Author Sort by Date

Author: ojacobson Date: Tue Jun 30 10:24:40 2009 New Revision: 4451 Log: Minor thinko in HistoryDAO.list that could, in extremis, lead to a connection leak. ...
svn@...
Send Email
Jun 30, 2009
2:37 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help