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
/**
         * The margin width; <code>5</code> pixels by default.
         */
        public int marginWidth = 5;
        /**
         * The margin height; <code>5</code> pixels by default.
         */
        public int marginHeight = 5;
        /**
         * The minimum width; <code>0</code> pixels by default.
         */
        public int minimumWidth = 0;
        /**
         * The minimum height; <code>0</code> pixels by default.
         */
        public int minimumHeight = 0;
        /**