mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polishing
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ public abstract class StandardScriptUtils {
|
||||
* @param engineName the name of the engine
|
||||
* @return a corresponding ScriptEngine (never {@code null})
|
||||
* @throws IllegalArgumentException if no matching engine has been found
|
||||
* @throws IllegalStateException if no matching engine has been found or if
|
||||
* @throws IllegalStateException if the desired engine failed to initialize
|
||||
*/
|
||||
public static ScriptEngine retrieveEngineByName(ScriptEngineManager scriptEngineManager, String engineName) {
|
||||
ScriptEngine engine = scriptEngineManager.getEngineByName(engineName);
|
||||
|
||||
Reference in New Issue
Block a user