Bug 375600 Misspelled constant name: IScriptFunctionContext.FUNCITON_BEAN_NAME
Build Identifier: In BIRT 3.7.2 IScriptFunctionContext has a constant called FUNCITON_BEAN_NAME. It should be renamed to FUNCTION_BEAN_NAME and the current name deprecated. Reproducible: Always Steps to Reproduce: View JavaDoc for IScriptFunctionContext.
core/org.eclipse.birt.core/src/org/eclipse/birt/core/script/functionservice/impl/CategoryWrapper.java
/*******************************************************************************
 * Copyright (c) 2004, 2008 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.core.script.functionservice.impl;
import org.eclipse.birt.core.exception.BirtException;
import org.eclipse.birt.core.script.JavascriptEvalUtil;
import org.eclipse.birt.core.script.functionservice.IScriptFunction;
import org.eclipse.birt.core.script.functionservice.IScriptFunctionCategory;
import org.eclipse.birt.core.script.functionservice.IScriptFunctionContext;
import org.mozilla.javascript.BaseFunction;
import org.mozilla.javascript.Context;
import org.mozilla.javascript.Scriptable;
import org.mozilla.javascript.ScriptableObject;
import org.mozilla.javascript.WrappedException;
/**
 * This class wraps a function that defined by user using java to a scriptable object
 * that processable by Rhino.
 * 
 */
public class CategoryWrapper extends ScriptableObject