velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r558112 - /velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/MultiViewsTool.java
Date Fri, 20 Jul 2007 20:02:40 GMT
Author: nbubna
Date: Fri Jul 20 13:02:37 2007
New Revision: 558112

URL: http://svn.apache.org/viewvc?view=rev&rev=558112
Log:
fix infinite loop

Modified:
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/MultiViewsTool.java

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/MultiViewsTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/MultiViewsTool.java?view=diff&rev=558112&r1=558111&r2=558112
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/MultiViewsTool.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/view/MultiViewsTool.java
Fri Jul 20 13:02:37 2007
@@ -121,7 +121,7 @@
      */
     public String findLocalizedResource(String name)
     {
-        return findLocalizedResource(defaultLanguage);
+        return findLocalizedResource(name, defaultLanguage);
     }
 
     /**



Mime
View raw message