Community
Participate
Working Groups
20080227 At several places in jdt.core it is now possible to simplify the code and use the new API ICompilationUnit#applyTextEdit org.eclipse.jdt.internal.core.JavaModelOperation.getDocument(ICompilationUnit) can be removed. Callers of the method can use ICompilationUnit#applyTextEdit This should also improve performance with IBuffers that implement applyTextEdit (e.g. from JDT/UI)
Created attachment 91201 [details] Proposed change Note there is no regression test as this is not a bug fix. It is just an internal change. It is transparent for clients.
Created attachment 91214 [details] Improved change after Martin's feedback
Change released for 3.4M6
Verified for 3.4M6 using build I20080324-1300.