[jboss-cvs] jboss-seam/src/main/org/jboss/seam/interceptors ...
Gavin King
gavin.king at jboss.com
Mon Jun 18 01:12:30 EDT 2007
User: gavin
Date: 07/06/18 01:12:30
Modified: src/main/org/jboss/seam/interceptors
ConversationInterceptor.java
Log:
deprecate end() on exception annotations
tolerate multiple calls to begin()/end(), esp for @ApplicationException
Revision Changes Path
1.63 +2 -1 jboss-seam/src/main/org/jboss/seam/interceptors/ConversationInterceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ConversationInterceptor.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/interceptors/ConversationInterceptor.java,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -b -r1.62 -r1.63
--- ConversationInterceptor.java 18 Jun 2007 04:54:11 -0000 1.62
+++ ConversationInterceptor.java 18 Jun 2007 05:12:30 -0000 1.63
@@ -1,4 +1,4 @@
-//$Id: ConversationInterceptor.java,v 1.62 2007/06/18 04:54:11 gavin Exp $
+//$Id: ConversationInterceptor.java,v 1.63 2007/06/18 05:12:30 gavin Exp $
package org.jboss.seam.interceptors;
import java.lang.reflect.Method;
@@ -228,6 +228,7 @@
}
}
+ @SuppressWarnings("deprecation")
private void endConversationIfNecessary(Method method, Object result)
{
boolean isEndAnnotation = method.isAnnotationPresent(End.class);
More information about the jboss-cvs-commits
mailing list