From fe0c0b8df66b5dc331595060cdfa020a753caa52 Mon Sep 17 00:00:00 2001 From: Yana Stamcheva Date: Wed, 14 Nov 2007 11:01:56 +0000 Subject: [PATCH] trailing spaces removed --- .../impl/gui/customcontrols/wizard/WizardModel.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/net/java/sip/communicator/impl/gui/customcontrols/wizard/WizardModel.java b/src/net/java/sip/communicator/impl/gui/customcontrols/wizard/WizardModel.java index 7b5c2c702..99e9dffb9 100644 --- a/src/net/java/sip/communicator/impl/gui/customcontrols/wizard/WizardModel.java +++ b/src/net/java/sip/communicator/impl/gui/customcontrols/wizard/WizardModel.java @@ -156,13 +156,11 @@ boolean setCurrentPanel(Object id) { WizardPage nextPanel = (WizardPage)panelHashmap.get(id); - - + // If we couldn't find the panel that should be displayed, return // false. - if (nextPanel == null) - throw new WizardPanelNotFoundException(); + throw new WizardPanelNotFoundException(); WizardPage oldPanel = currentPanel; currentPanel = nextPanel; @@ -170,8 +168,9 @@ boolean setCurrentPanel(Object id) { if (oldPanel != currentPanel) { firePropertyChange(CURRENT_PAGE_PROPERTY, oldPanel, currentPanel); - } - return true; + } + + return true; } /**