[seam-commits] Seam SVN: r9488 - trunk/src/main/org/jboss/seam.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Nov 3 19:31:39 EST 2008


Author: youngm
Date: 2008-11-03 19:31:39 -0500 (Mon, 03 Nov 2008)
New Revision: 9488

Modified:
   trunk/src/main/org/jboss/seam/ScopeType.java
Log:
JBSEAM-3653

Modified: trunk/src/main/org/jboss/seam/ScopeType.java
===================================================================
--- trunk/src/main/org/jboss/seam/ScopeType.java	2008-11-04 00:28:51 UTC (rev 9487)
+++ trunk/src/main/org/jboss/seam/ScopeType.java	2008-11-04 00:31:39 UTC (rev 9488)
@@ -69,6 +69,12 @@
     */
    UNSPECIFIED;
    
+   private final String prefix;
+   
+   private ScopeType() {
+	   prefix = "org.jboss.seam." + toString();
+   }
+   
    public boolean isContextActive()
    {
       switch (this)
@@ -151,7 +157,7 @@
    
    public String getPrefix()
    {
-      return "org.jboss.seam." + toString();
+      return prefix;
    }
 
 }




More information about the seam-commits mailing list