|
From: <rga...@us...> - 2002-11-21 22:21:51
|
Update of /cvsroot/csms/csms-core/src/java/org/fanfoot/db
In directory sc8-pr-cvs1:/tmp/cvs-serv23507
Modified Files:
DB.java
Log Message:
Added warning if unable to close a connection
Index: DB.java
===================================================================
RCS file: /cvsroot/csms/csms-core/src/java/org/fanfoot/db/DB.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DB.java 21 Nov 2002 21:59:38 -0000 1.1
--- DB.java 21 Nov 2002 22:21:48 -0000 1.2
***************
*** 98,102 ****
col.close();
} catch ( XMLDBException xde ) {
! // FIXME handle this error, it is not critical but will be a memeory leak
}
}
--- 98,103 ----
col.close();
} catch ( XMLDBException xde ) {
! // FIXME handle this error, it is not critical but will be a memory leak
! logger.log( Level.WARNING, "Unable to close connection", xde );
}
}
***************
*** 130,134 ****
* indicated.
*
! *@param strID the id of the resource (if null an ID will be generated)
*@param strResource the resource to add
*@param strCollection the collection to add it to
--- 131,136 ----
* indicated.
*
! *@param strID the id of the resource (if null an ID will be
! * generated)
*@param strResource the resource to add
*@param strCollection the collection to add it to
|