Declared as class as final, getEvaluator() as private.
This commit is contained in:
parent
6576b9fc0f
commit
4fdf0b97d9
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ import FESI.Exceptions.*;
|
||||||
/**
|
/**
|
||||||
* This is the implementation of ScriptingEnvironment for the FESI EcmaScript interpreter.
|
* This is the implementation of ScriptingEnvironment for the FESI EcmaScript interpreter.
|
||||||
*/
|
*/
|
||||||
public class FesiScriptingEnvironment implements ScriptingEnvironment {
|
public final class FesiScriptingEnvironment implements ScriptingEnvironment {
|
||||||
|
|
||||||
Application app;
|
Application app;
|
||||||
Properties props;
|
Properties props;
|
||||||
|
@ -74,7 +74,7 @@ public class FesiScriptingEnvironment implements ScriptingEnvironment {
|
||||||
return evaluators.values();
|
return evaluators.values();
|
||||||
}
|
}
|
||||||
|
|
||||||
FesiEvaluator getEvaluator (RequestEvaluator reval) {
|
private FesiEvaluator getEvaluator (RequestEvaluator reval) {
|
||||||
FesiEvaluator fesi = (FesiEvaluator) evaluators.get (reval);
|
FesiEvaluator fesi = (FesiEvaluator) evaluators.get (reval);
|
||||||
if (fesi == null) {
|
if (fesi == null) {
|
||||||
fesi = new FesiEvaluator (app, reval);
|
fesi = new FesiEvaluator (app, reval);
|
||||||
|
|
Loading…
Add table
Reference in a new issue