Revision () { if (myWorkingCopyRadioButton.isSelected()) { return Revision.WORKING; } else { try { return myRevisionPanel.getRevision(); } catch (ConfigurationException e) { return Revision.UNDEFINED; } } }