Thread: [Pydev-cvs] org.python.pydev.core/src/org/python/pydev/core/structure FastStack.java, 1.3, 1.4
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-07-31 01:47:46
|
Update of /cvsroot/pydev/org.python.pydev.core/src/org/python/pydev/core/structure In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31648/src/org/python/pydev/core/structure Modified Files: FastStack.java Log Message: <li>Fixed NPE when creating editor with no interpreter configured</li> <li>Hyperlink works in the same way that F3 (saves file before search)</li> <li>Fixed problem while navigating pydev package explorer ( https://sourceforge.net/tracker/index.php?func=detail&aid=2008015&group_id=85796&atid=577329 )</li> <li>Applied patch that fixes race condition in PythonNature (thanks to Radim Kubacki)</li> <li><strong>Eclipse 3.4</strong>: Move / rename working</li> Index: FastStack.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.core/src/org/python/pydev/core/structure/FastStack.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** FastStack.java 10 Jun 2007 18:49:37 -0000 1.3 --- FastStack.java 31 Jul 2008 01:47:54 -0000 1.4 *************** *** 236,239 **** --- 236,251 ---- } + @Override + public String toString() { + FastStringBuffer buf = new FastStringBuffer("FastStack [\n", 25*this.size); + for (E element: this) { + buf.append(" "); + buf.append(element.toString()); + buf.append("\n"); + } + buf.append("]"); + return buf.toString(); + } + public int hashCode() { throw new RuntimeException("Not hashable"); |