From: <pj...@us...> - 2009-10-16 02:41:48
|
Revision: 6862 http://jython.svn.sourceforge.net/jython/?rev=6862&view=rev Author: pjenvey Date: 2009-10-16 02:41:41 +0000 (Fri, 16 Oct 2009) Log Message: ----------- toArray arg can't be null Modified Paths: -------------- trunk/jython/src/org/python/core/PyList.java Modified: trunk/jython/src/org/python/core/PyList.java =================================================================== --- trunk/jython/src/org/python/core/PyList.java 2009-10-16 02:39:10 UTC (rev 6861) +++ trunk/jython/src/org/python/core/PyList.java 2009-10-16 02:41:41 UTC (rev 6862) @@ -978,8 +978,7 @@ @Override public synchronized PyObject[] getArray() { - PyObject a[] = null; - return list.toArray(a); + return list.toArray(Py.EmptyObjects); } @Override This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |