aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Rolka2013-03-05 10:05:49 (EST)
committerDaniel Rolka2013-03-05 10:05:49 (EST)
commitb3ea645f0ed4b447f9c9c021a62fd32ca9555794 (patch)
treec2ac9c082bd132723ee75aba039cca47730f4e92
parent91109c581ba6417fcfd9d2904c6cb638e10aab39 (diff)
downloadeclipse.platform.ui-b3ea645f0ed4b447f9c9c021a62fd32ca9555794.zip
eclipse.platform.ui-b3ea645f0ed4b447f9c9c021a62fd32ca9555794.tar.gz
eclipse.platform.ui-b3ea645f0ed4b447f9c9c021a62fd32ca9555794.tar.bz2
-rw-r--r--tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/harness/util/UITestCase.java8
1 files changed, 4 insertions, 4 deletions
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 abstract class UITestCase extends TestCase {
*/
public IWorkbenchPage openTestPage(IWorkbenchWindow win) {
IWorkbenchPage[] pages = openTestPage(win, 1);
- if (pages != null)
+ if (pages != null) {
return pages[0];
- else
- return null;
+ }
+ return null;
}
/**