[jboss-svn-commits] JBoss Portal SVN: r5668 - trunk/test/src/main/org/jboss/portal/test/framework/agent

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Nov 16 13:48:48 EST 2006


Author: julien at jboss.com
Date: 2006-11-16 13:48:45 -0500 (Thu, 16 Nov 2006)
New Revision: 5668

Modified:
   trunk/test/src/main/org/jboss/portal/test/framework/agent/JBossTestAgent.java
Log:
improve javadoc

Modified: trunk/test/src/main/org/jboss/portal/test/framework/agent/JBossTestAgent.java
===================================================================
--- trunk/test/src/main/org/jboss/portal/test/framework/agent/JBossTestAgent.java	2006-11-16 18:47:40 UTC (rev 5667)
+++ trunk/test/src/main/org/jboss/portal/test/framework/agent/JBossTestAgent.java	2006-11-16 18:48:45 UTC (rev 5668)
@@ -40,9 +40,13 @@
    /** Keep a thread local of sessions. */
    private static final ThreadLocal local = new ThreadLocal();
 
+   /**
+    * Record the exception only if we have a session otherwise we may leek the exception in the thread local.
+    *
+    * @param e the deployment exception to log.
+    */
    public static void record(DeploymentException e)
    {
-      // Record the exception only if we have a session otherwise we may leek the exception in the thread local
       Session session = (Session)local.get();
       if (session != null && session.e == null)
       {




More information about the jboss-svn-commits mailing list