webwork/src/main/webwork/util Sorter.java,1.8,1.9
[email protected] Sat, 01 Nov 2003 12:34:46 -0800
| Newsgroups | gmane.comp.java.open-symphony.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/opensymphony/webwork/src/main/webwork/util
In directory sc8-pr-cvs1:/tmp/cvs-serv20349/src/main/webwork/util
Modified Files:
Sorter.java
Log Message:
getDescending(expr) should not toString stack.findValue, and should behave just like getAscending(expr). Fixes WW-247
Index: Sorter.java
===================================================================
RCS file: /cvsroot/opensymphony/webwork/src/main/webwork/util/Sorter.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- Sorter.java 11 Mar 2002 09:02:35 -0000 1.8
+++ Sorter.java 1 Nov 2003 20:34:44 -0000 1.9
@@ -112,12 +112,12 @@
{
// Get value for first object
stack.pushValue(o1);
- String v1 = stack.findValue(anExpression).toString();
+ Object v1 = stack.findValue(anExpression);
stack.popValue();
// Get value for second object
stack.pushValue(o2);
- String v2 = stack.findValue(anExpression).toString();
+ Object v2 = stack.findValue(anExpression);
stack.popValue();
// Ensure non-null
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/