Changeset 1080 for trunk/src/org/expeditee/actions/ScriptBase.java
- Timestamp:
- 07/04/17 14:42:52 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/actions/ScriptBase.java
r1078 r1080 51 51 public abstract class ScriptBase { 52 52 53 public String ERROR_FRAMESET; 54 public ScriptEngineManager scriptEngineManager; 55 public ScriptEngine scriptEngine = null; 56 53 protected static ScriptEngineManager scriptEngineManager; 54 protected String ERROR_FRAMESET; 55 protected ScriptEngine scriptEngine = null; 56 57 static { 58 scriptEngineManager = new ScriptEngineManager(); 59 } 60 57 61 protected abstract void init(); 58 62 … … 117 121 118 122 protected ScriptBase(Frame frame, boolean followLinks) { 119 if (scriptEngine == null) { 120 init(); 121 } 123 init(); 122 124 this.parseFrame(frame, followLinks); 123 125 }
Note:
See TracChangeset
for help on using the changeset viewer.