Changeset 13331 in josm for trunk/src/org/openstreetmap/josm/data/validation/tests/OpeningHourTest.java
- Timestamp:
- 2018-01-16T00:28:24+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/validation/tests/OpeningHourTest.java
r13298 r13331 12 12 import javax.script.Invocable; 13 13 import javax.script.ScriptEngine; 14 import javax.script.ScriptEngineManager;15 14 import javax.script.ScriptException; 16 15 … … 23 22 import org.openstreetmap.josm.tools.LanguageInfo; 24 23 import org.openstreetmap.josm.tools.Logging; 24 import org.openstreetmap.josm.tools.Utils; 25 25 26 26 /** … … 36 36 * Javascript engine 37 37 */ 38 public static final ScriptEngine ENGINE = new ScriptEngineManager(null).getEngineByName("JavaScript");38 public static final ScriptEngine ENGINE = Utils.getJavaScriptEngine(); 39 39 40 40 /**
Note:
See TracChangeset
for help on using the changeset viewer.