Bug 76496 [Dialogs] "Open Resource" folder sorting gets reversed
Build 20041013 1. Press ctrl+shift+r to open the "Open Resource" dialog. 2. Type "plugin.xlm" 3. Notice the typo, delete the last two characters, and then type "ml" to fix the typo. 4. The "In Folders:" area now shows with reversed sorting (!!).
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/ResourceListSelectionDialog.java
protected String adjustPattern() {
        String text = pattern.getText().trim();
        if (text.endsWith("<")) { 
            
            return text.substring(0, text.length() - 1);
        }
        if (!text.equals("") && !text.endsWith("*")) { 
        	return text + "*"; 
        }
        return text;
    }
    /**
     * @see org.eclipse.jface.dialogs.Dialog#cancelPressed()
     */
    protected void cancelPressed() {
        setResult(null);
        super.cancelPressed();
    }
    /**
     * @see org.eclipse.jface.window.Window#close()
     */
    public boolean close() {
    	saveDialogSettings(getShell());
        boolean result = super.close();
        labelProvider.dispose();
        return result;
    }
    /**
     * @see org.eclipse.jface.window.Window#create()
     */