Project: JDT
Bug 138323 [quick assist] surround with does not qualify 'this'
Reported: 2006-04-25 06:10:07 | Status: resolved fixed

N20060423-0010 Given: public class E { public void foo() { System.out.println(this); } } 1. Select 'System.out.println(this); 2. Alt-Shift-Z 3. Surround with runnable Is: System.out.println(this); Should: System.out.println(E.this);

Files changed in fix:
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/quickfix/AssistQuickFixTest.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SurroundWith.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/SurroundWithRunnableProposal.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/contentassist/SurroundWithTemplateProposal.java