Update of /cvsroot/pydev/org.python.pydev.refactoring/src/org/python/pydev/refactoring/core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27905/src/org/python/pydev/refactoring/core
Modified Files:
RefactoringInfo.java
Log Message:
Using faster version of StringBuffer: FastStrintgBuffer / Better icons for auto-import.
Index: RefactoringInfo.java
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev.refactoring/src/org/python/pydev/refactoring/core/RefactoringInfo.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** RefactoringInfo.java 20 Oct 2007 19:31:00 -0000 1.6
--- RefactoringInfo.java 14 Jun 2008 22:14:34 -0000 1.7
***************
*** 21,24 ****
--- 21,25 ----
import org.eclipse.ui.texteditor.ITextEditor;
import org.python.pydev.core.IPythonNature;
+ import org.python.pydev.core.structure.FastStringBuffer;
import org.python.pydev.parser.jython.ParseException;
import org.python.pydev.refactoring.ast.PythonModuleManager;
***************
*** 182,186 ****
}
if (bodyIndent > 0) {
! StringBuffer selectedCode = new StringBuffer();
for (String line : lines) {
if (line.startsWith(indentation)) {
--- 183,187 ----
}
if (bodyIndent > 0) {
! FastStringBuffer selectedCode = new FastStringBuffer();
for (String line : lines) {
if (line.startsWith(indentation)) {
|