Project: JDT
Bug 132254 cancelling dialog should not result in file I/O
Reported: 2006-03-16 16:39:19 | Status: resolved fixed

If I cancel the TypeSelection2Dialog, a call to org.eclipse.jdt.internal.corext.util.History.save() is made unnecessarily - this action causes file I/O to occur. This could cause a noticeable delay in closing the dialog if the user is running a workspace on the network. Steps: Open preferences dialog Go to Java > JUnit page Select Add Class button Cancel the dialog that comes up

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeSelectionDialog2.java