[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-cvs-commits
Subject: [jboss-cvs] jboss-jms/docs/examples/queue/src/org/jboss/example/jms/queue ...
From: Luc Texier <ltexier () jboss ! com>
Date: 2006-03-31 22:17:26
Message-ID: E1FPRvq-0007fl-4n () committer01 ! frg ! pub ! inap ! atl ! jboss ! com
[Download RAW message or body]
User: ltexier
Date: 06/03/31 17:17:26
Modified: docs/examples/queue/src/org/jboss/example/jms/queue
QueueExample.java
Log:
version with correct usage of the finally clause to close connection
Revision Changes Path
1.5 +4 -2 \
jboss-jms/docs/examples/queue/src/org/jboss/example/jms/queue/QueueExample.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: QueueExample.java
===================================================================
RCS file: /cvsroot/jboss/jboss-jms/docs/examples/queue/src/org/jboss/example/jms/queue/QueueExample.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- QueueExample.java 31 Mar 2006 09:51:32 -0000 1.4
+++ QueueExample.java 31 Mar 2006 22:17:26 -0000 1.5
@@ -37,9 +37,10 @@
* code 0 in case of successful execution and a non-zero value on failure.
*
* @author <a href="mailto:ovidiu@jboss.org">Ovidiu Feodorov</a>
- * @version <tt>$Revision: 1.4 $</tt>
+ * @author <a href="mailto:luc.texier@jboss.org">Luc Texier</a>
+ * @version <tt>$Revision: 1.5 $</tt>
*
- * $Id: QueueExample.java,v 1.4 2006/03/31 09:51:32 ltexier Exp $
+ * $Id: QueueExample.java,v 1.5 2006/03/31 22:17:26 ltexier Exp $
*/
public class QueueExample extends ExampleSupport
{
@@ -97,6 +98,7 @@
closeConnection(connection);
closeConnection(connection2);
+
}
}
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic