size is reserved.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2699 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2007-03-26 19:40:34 +00:00
1 parent 0e99265ed5
commit 021d88eddd
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -372,7 +372,7 @@ public class Functions {
* Works like JSTL build-in size(x) function,
* but handle null gracefully.
*/
public static int size(Object o) throws Exception {
public static int size2(Object o) throws Exception {
if(o==null) return 0;
return ASTSizeFunction.sizeOf(o);
}