[Pydev-cvs] org.python.pydev.core/src/org/python/pydev/core/docutils ImportHandle.java, 1.5, 1.6
Brought to you by:
fabioz
From: Fabio Z. <fa...@us...> - 2008-06-11 00:00:53
|
Update of /cvsroot/pydev/org.python.pydev.core/src/org/python/pydev/core/docutils In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25170/src/org/python/pydev/core/docutils Modified Files: ImportHandle.java Log Message: Organize imports fixes. Index: ImportHandle.java =================================================================== RCS file: /cvsroot/pydev/org.python.pydev.core/src/org/python/pydev/core/docutils/ImportHandle.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ImportHandle.java 1 Jun 2008 20:44:47 -0000 1.5 --- ImportHandle.java 11 Jun 2008 00:00:09 -0000 1.6 *************** *** 148,157 **** ! }else if(c == ' ' || c == '\t'){ ! String curr = alias.toString(); ! if(curr.endsWith(" as") | curr.endsWith("\tas")){ ! alias = new StringBuffer(); ! } ! alias.append(c); }else{ --- 148,159 ---- ! // commented out: we'll get the xxx as yyy all in the alias. Clients may treat it separately if needed. ! // }else if(c == ' ' || c == '\t'){ ! // ! // String curr = alias.toString(); ! // if(curr.endsWith(" as") | curr.endsWith("\tas")){ ! // alias = new StringBuffer(); ! // } ! // alias.append(c); }else{ |