From: <fwi...@us...> - 2009-07-30 03:10:51
|
Revision: 6598 http://jython.svn.sourceforge.net/jython/?rev=6598&view=rev Author: fwierzbicki Date: 2009-07-30 03:10:33 +0000 (Thu, 30 Jul 2009) Log Message: ----------- Remove compiler warning. Modified Paths: -------------- trunk/jython/src/org/python/compiler/Code.java Modified: trunk/jython/src/org/python/compiler/Code.java =================================================================== --- trunk/jython/src/org/python/compiler/Code.java 2009-07-28 13:58:03 UTC (rev 6597) +++ trunk/jython/src/org/python/compiler/Code.java 2009-07-30 03:10:33 UTC (rev 6598) @@ -72,8 +72,8 @@ return returnLocal; } - public Vector getActiveLocals() { - Vector ret = new Vector(); + public Vector<String> getActiveLocals() { + Vector<String> ret = new Vector<String>(); ret.setSize(nlocals); for (int l = argcount; l<nlocals; l++) { if (l == returnLocal || finallyLocals.get(l)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |