Redundant else removed
Change-Id: I7ca665801be7ba8a6272180606ffcc385ac61850
diff --git a/tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/harness/util/UITestCase.java b/tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/harness/util/UITestCase.java
index 24996f5..02fe728 100644
--- a/tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/harness/util/UITestCase.java
+++ b/tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/harness/util/UITestCase.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
+ * Copyright (c) 2000, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -314,10 +314,10 @@
*/
public IWorkbenchPage openTestPage(IWorkbenchWindow win) {
IWorkbenchPage[] pages = openTestPage(win, 1);
- if (pages != null)
+ if (pages != null) {
return pages[0];
- else
- return null;
+ }
+ return null;
}
/**