From: <fwi...@us...> - 2008-10-26 14:05:42
|
Revision: 5510 http://jython.svn.sourceforge.net/jython/?rev=5510&view=rev Author: fwierzbicki Date: 2008-10-26 14:05:35 +0000 (Sun, 26 Oct 2008) Log Message: ----------- Although not as nice, replace jdk6 LinkedList methods names with jdk5 names. Modified Paths: -------------- trunk/jython/src/org/python/core/ThreadState.java Modified: trunk/jython/src/org/python/core/ThreadState.java =================================================================== --- trunk/jython/src/org/python/core/ThreadState.java 2008-10-26 06:23:15 UTC (rev 5509) +++ trunk/jython/src/org/python/core/ThreadState.java 2008-10-26 14:05:35 UTC (rev 5510) @@ -40,14 +40,14 @@ if (initializingProxies == null) { initializingProxies = new LinkedList<PyInstance>(); } - initializingProxies.push(proxy); + initializingProxies.addFirst(proxy); } public void popInitializingProxy() { if (initializingProxies == null || initializingProxies.isEmpty()) { throw Py.RuntimeError("invalid initializing proxies state"); } - initializingProxies.pop(); + initializingProxies.removeFirst(); } public ThreadState(Thread t, PySystemState systemState) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |