Skip to content

Commit c9299f8

Browse files
committed
JRubyScriptLanguage: remove unneeded override
The getLanguageName method now defaults to the @plugin name attribute, so we no longer need to explicitly override it.
1 parent 18456b3 commit c9299f8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main/java/org/scijava/plugins/scripting/jruby/JRubyScriptLanguage.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,6 @@ public JRubyScriptLanguage() {
5050
super("jruby");
5151
}
5252

53-
@Override
54-
public String getLanguageName() {
55-
// NB: Must override, or else the name is "ruby" in small case.
56-
return "Ruby";
57-
}
58-
5953
@Override
6054
public ScriptEngine getScriptEngine() {
6155
// TODO: Consider adapting the wrapped ScriptEngineFactory's ScriptEngine.

0 commit comments

Comments
 (0)