velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nbu...@apache.org
Subject svn commit: r599237 - /velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/DisplayTool.java
Date Thu, 29 Nov 2007 01:08:44 GMT
Author: nbubna
Date: Wed Nov 28 17:08:41 2007
New Revision: 599237

URL: http://svn.apache.org/viewvc?rev=599237&view=rev
Log:
fix copy/paste error

Modified:
    velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/DisplayTool.java

Modified: velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/DisplayTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/DisplayTool.java?rev=599237&r1=599236&r2=599237&view=diff
==============================================================================
--- velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/DisplayTool.java
(original)
+++ velocity/tools/branches/2.x/src/main/java/org/apache/velocity/tools/generic/DisplayTool.java
Wed Nov 28 17:08:41 2007
@@ -494,7 +494,7 @@
             case 0:
                 return string;
             case 1:
-                return string.toUpperCase();
+                return string.toLowerCase();
             default:
                 StringBuilder out = new StringBuilder(string.length());
                 out.append(string.substring(0,1).toLowerCase());



Mime
View raw message