From 021d88edddc5db87f585dd5b0f168f3a65abdb64 Mon Sep 17 00:00:00 2001 From: kohsuke Date: Mon, 26 Mar 2007 19:40:34 +0000 Subject: [PATCH] size is reserved. git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2699 71c3de6d-444a-0410-be80-ed276b4c234a --- core/src/main/java/hudson/Functions.java | 2 +- core/src/main/resources/lib/form/repeatable.jelly | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/hudson/Functions.java b/core/src/main/java/hudson/Functions.java index ee85b07f56..0f40e25c3c 100644 --- a/core/src/main/java/hudson/Functions.java +++ b/core/src/main/java/hudson/Functions.java @@ -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); } diff --git a/core/src/main/resources/lib/form/repeatable.jelly b/core/src/main/resources/lib/form/repeatable.jelly index 0757352ddf..7efa054627 100644 --- a/core/src/main/resources/lib/form/repeatable.jelly +++ b/core/src/main/resources/lib/form/repeatable.jelly @@ -69,7 +69,7 @@ - +