提交 021d88ed 编写于 作者: K kohsuke

size is reserved.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2699 71c3de6d-444a-0410-be80-ed276b4c234a
上级 0e99265e
......@@ -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);
}
......
......@@ -69,7 +69,7 @@
<j:remove var="${var}" />
<j:if test="${minimum}">
<j:forEach begin="${h.size(items)}" end="${minimum-1}" var="i">
<j:forEach begin="${h.size2(items)}" end="${minimum-1}" var="i">
<div class="repeated-chunk">
<d:invokeBody />
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册