struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r481634 - /struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/definition/UrlDefinitionsFactory.java
Date Sat, 02 Dec 2006 21:45:01 GMT
Author: apetrelli
Date: Sat Dec  2 13:45:00 2006
New Revision: 481634

URL: http://svn.apache.org/viewvc?view=rev&rev=481634
Log:
SB-99
The Locale object was not used at all in "getDefinition" method.

Modified:
    struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/definition/UrlDefinitionsFactory.java

Modified: struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/definition/UrlDefinitionsFactory.java
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/definition/UrlDefinitionsFactory.java?view=diff&rev=481634&r1=481633&r2=481634
==============================================================================
--- struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/definition/UrlDefinitionsFactory.java
(original)
+++ struts/sandbox/trunk/tiles/tiles-core/src/main/java/org/apache/tiles/definition/UrlDefinitionsFactory.java
Sat Dec  2 13:45:00 2006
@@ -137,7 +137,7 @@
         Locale locale = null;
 
         if (tilesContext != null) {
-            tilesContext.getRequestLocale();
+            locale = tilesContext.getRequestLocale();
             if (!isContextProcessed(tilesContext)) {
                 synchronized (definitions) {
                     addDefinitions(definitions, tilesContext);



Mime
View raw message