[seam-commits] Seam SVN: r12314 - in modules/faces/trunk/src/main/java/org/jboss/seam/faces: context/conversation and 1 other directory.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Mon Mar 29 17:53:25 EDT 2010
Author: lincolnthree
Date: 2010-03-29 17:53:24 -0400 (Mon, 29 Mar 2010)
New Revision: 12314
Modified:
modules/faces/trunk/src/main/java/org/jboss/seam/faces/SeamFacesException.java
modules/faces/trunk/src/main/java/org/jboss/seam/faces/context/conversation/NamedConversationAliasProducer.java
Log:
* SUID, extra comments
Modified: modules/faces/trunk/src/main/java/org/jboss/seam/faces/SeamFacesException.java
===================================================================
--- modules/faces/trunk/src/main/java/org/jboss/seam/faces/SeamFacesException.java 2010-03-29 20:49:03 UTC (rev 12313)
+++ modules/faces/trunk/src/main/java/org/jboss/seam/faces/SeamFacesException.java 2010-03-29 21:53:24 UTC (rev 12314)
@@ -11,8 +11,9 @@
*/
public class SeamFacesException extends RuntimeException
{
+ private static final long serialVersionUID = -610838646516706170L;
- public SeamFacesException(String string)
+ public SeamFacesException(final String string)
{
}
Modified: modules/faces/trunk/src/main/java/org/jboss/seam/faces/context/conversation/NamedConversationAliasProducer.java
===================================================================
--- modules/faces/trunk/src/main/java/org/jboss/seam/faces/context/conversation/NamedConversationAliasProducer.java 2010-03-29 20:49:03 UTC (rev 12313)
+++ modules/faces/trunk/src/main/java/org/jboss/seam/faces/context/conversation/NamedConversationAliasProducer.java 2010-03-29 21:53:24 UTC (rev 12314)
@@ -6,15 +6,18 @@
import javax.inject.Named;
/**
- * Exposes the {@link Conversation} under the simplified name "conversation"
- * in addition to the default "javax.enterprise.context.conversation". This
- * alias is provided for the page author's convenience.
- *
+ * Exposes the {@link Conversation} under the simplified name "conversation" in
+ * addition to the default "javax.enterprise.context.conversation". This alias
+ * is provided for the page author's convenience.
+ *
* @author Dan Allen
*/
public class NamedConversationAliasProducer
{
- public @Produces @Named @Typed() Conversation getConversation(Conversation conversation)
+ public @Produces
+ @Named
+ @Typed(/* no types - prevents injection */)
+ Conversation getConversation(final Conversation conversation)
{
return conversation;
}
More information about the seam-commits
mailing list