提交 65f8e661 authored 作者: sylvain-ilm's avatar sylvain-ilm

spelling

上级 09931cce
...@@ -205,7 +205,7 @@ public class SourceCompiler { ...@@ -205,7 +205,7 @@ public class SourceCompiler {
else if (isRubySource(source)) else if (isRubySource(source))
lang = "ruby"; lang = "ruby";
else else
throw new IllegalStateException("Unkown language for " + source); throw new IllegalStateException("Unknown language for " + source);
final Compilable jsEngine = (Compilable) new ScriptEngineManager().getEngineByName(lang); final Compilable jsEngine = (Compilable) new ScriptEngineManager().getEngineByName(lang);
compiledScript = jsEngine.compile(source); compiledScript = jsEngine.compile(source);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论