[jboss-cvs] jboss-seam/src/main/org/jboss/seam/international ...
Gavin King
gavin.king at jboss.com
Tue Jun 19 15:21:17 EDT 2007
User: gavin
Date: 07/06/19 15:21:17
Modified: src/main/org/jboss/seam/international Locale.java
Log:
repackaged built-in components
sorry for breakage, but it had to happen eventually :-(
Revision Changes Path
1.2 +5 -2 jboss-seam/src/main/org/jboss/seam/international/Locale.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Locale.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/international/Locale.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- Locale.java 19 Jun 2007 19:12:44 -0000 1.1
+++ Locale.java 19 Jun 2007 19:21:17 -0000 1.2
@@ -31,9 +31,12 @@
public static java.util.Locale instance()
{
- if (Contexts.isApplicationContextActive()) {
+ if ( Contexts.isApplicationContextActive() )
+ {
return (java.util.Locale) Component.getInstance(Locale.class, ScopeType.STATELESS);
- } else {
+ }
+ else
+ {
return java.util.Locale.US; // testing
}
}
More information about the jboss-cvs-commits
mailing list