Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/utils
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27940/src/org/python/pydev/utils
Modified Files:
PyFileListing.java
Log Message:
Using faster version of StringBuffer: FastStrintgBuffer / Better icons for auto-import.
Index: PyFileListing.java
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/utils/PyFileListing.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** PyFileListing.java 1 Nov 2007 12:38:03 -0000 1.2
--- PyFileListing.java 14 Jun 2008 22:14:57 -0000 1.3
***************
*** 15,18 ****
--- 15,19 ----
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.NullProgressMonitor;
+ import org.python.pydev.core.structure.FastStringBuffer;
import org.python.pydev.editor.codecompletion.revisited.PythonPathHelper;
***************
*** 85,89 ****
if (file.isDirectory()) {
if(level != 0){
! StringBuffer newModuleRep = new StringBuffer(currModuleRep);
if(newModuleRep.length() != 0){
newModuleRep.append(".");
--- 86,90 ----
if (file.isDirectory()) {
if(level != 0){
! FastStringBuffer newModuleRep = new FastStringBuffer(currModuleRep, 128);
if(newModuleRep.length() != 0){
newModuleRep.append(".");
|