File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/scijava/plugins/scripting/jython Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5252 * @author Mark Hiner
5353 * @see ScriptEngine
5454 */
55- @ Plugin (type = ScriptLanguage .class , name = "Python " )
55+ @ Plugin (type = ScriptLanguage .class , name = "Jython " )
5656public class JythonScriptLanguage extends AdaptedScriptLanguage {
5757
5858 @ Parameter
@@ -78,7 +78,7 @@ public Object decode(final Object object) {
7878 return ((PyString ) object ).getString ();
7979 }
8080 if (object instanceof PyObject ) {
81- // Unwrap Python objects when they wrap Java ones.
81+ // Unwrap Jython objects when they wrap Java ones.
8282 final PyObject pyObj = (PyObject ) object ;
8383 final Class <?> javaType = pyObj .getType ().getProxyType ();
8484 if (javaType != null ) return pyObj .__tojava__ (javaType );
You can’t perform that action at this time.
0 commit comments