Skip to content

Commit 785560c

Browse files
committed
JavaScriptScriptLanguage: remove unneeded override
The getLanguageName method now defaults to the @plugin name attribute, so we no longer need to explicitly override it.
1 parent b9c1e83 commit 785560c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main/java/org/scijava/plugins/scripting/javascript/JavaScriptScriptLanguage.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,4 @@ public Object decode(final Object object) {
112112
return null;
113113
}
114114

115-
@Override
116-
public String getLanguageName() {
117-
// NB: Must override, or else the name is "ECMAScript".
118-
return "JavaScript";
119-
}
120-
121115
}

0 commit comments

Comments
 (0)