mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-30 21:15:23 +00:00
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:
1 parent
0e99265ed5
commit
021d88eddd
2 files changed
+2
-2
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user