replaced "h.defaulted(x,y)" with "x?:y"

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@16489 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-03-23 18:26:49 +00:00
1 parent dc6b23b48b
commit d0b1e4b384
11 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -869,7 +869,7 @@ public class Functions {
/**
* If the value exists, return that value. Otherwise return the default value.
* <p>
* This method is useful for supplying a default value to a form field.
* Starting 1.294, JEXL supports the elvis operator "x?:y" that supercedes this.
*
* @since 1.150
*/