Renamed evaluator field to eval to avoid abiguities
This commit is contained in:
parent
b57b024082
commit
c8690f49d3
2 changed files with 3 additions and 3 deletions
|
@ -50,7 +50,7 @@ public class ESMail extends ESObject implements Serializable {
|
|||
|
||||
|
||||
public ESMail (MailExtension mailx) {
|
||||
super (mailx.esMailPrototype, mailx.evaluator);
|
||||
super (mailx.esMailPrototype, mailx.eval);
|
||||
this.status = OK;
|
||||
this.mailx = mailx;
|
||||
this.mprops = mailx.mprops;
|
||||
|
|
|
@ -21,7 +21,7 @@ import java.util.*;
|
|||
public class MailExtension extends Extension {
|
||||
|
||||
|
||||
protected Evaluator evaluator = null;
|
||||
protected Evaluator eval = null;
|
||||
protected ObjectPrototype esMailPrototype = null;
|
||||
protected Properties mprops;
|
||||
|
||||
|
@ -39,7 +39,7 @@ public class MailExtension extends Extension {
|
|||
*/
|
||||
public void initializeExtension(Evaluator evaluator) throws EcmaScriptException {
|
||||
|
||||
this.evaluator = evaluator;
|
||||
this.eval = evaluator;
|
||||
GlobalObject go = evaluator.getGlobalObject();
|
||||
FunctionPrototype fp = (FunctionPrototype) evaluator.getFunctionPrototype();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue