Bug 142172 [Wizards] Small overhead in WizardDialog
Here is code of method WizardDialog.updateDescriptionMessage: private void updateDescriptionMessage() { pageDescription = currentPage.getDescription(); setMessage(currentPage.getDescription()); } As you can see, it access currentPage.getDescription() two times, but value of this method is already in field pageDescription.
bundles/org.eclipse.jface/src/org/eclipse/jface/wizard/WizardDialog.java
oldPage.setVisible(false);
		}
        
        update();
    }
    /**	
     * Shows the starting page of the wizard.
     */
    private void showStartingPage() {
        currentPage = wizard.getStartingPage();
        if (currentPage == null) {
            
            return;
        }
        
        if (currentPage.getControl() == null) {
            currentPage.createControl(pageContainer);
            
            
            Assert.isNotNull(currentPage.getControl());
            
            
        }
        
        currentPage.setVisible(true);
        
        update();
    }
    /**
     * A long running operation triggered through the wizard