View | Details | Raw Unified | Return to bug 44294
Collapse All | Expand All

(-)org/apache/el/lang/FunctionMapperImpl.java (-3 / +6 lines)
Lines 48-58 Link Here
48
     *      java.lang.String)
48
     *      java.lang.String)
49
     */
49
     */
50
    public Method resolveFunction(String prefix, String localName) {
50
    public Method resolveFunction(String prefix, String localName) {
51
        Method method = null;
51
        if (this.functions != null) {
52
        if (this.functions != null) {
52
            Function f = (Function) this.functions.get(prefix + ":" + localName);
53
            Function function = (Function) this.functions.get(prefix + ":" + localName);
53
            return f.getMethod();
54
            if (function != null) {
55
                method = function.getMethod();
56
            }
54
        }
57
        }
55
        return null;
58
        return method;
56
    }
59
    }
57
60
58
    public void addFunction(String prefix, String localName, Method m) {
61
    public void addFunction(String prefix, String localName, Method m) {

Return to bug 44294