Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2017-12-28 07:59:54 +0000
committerAndrey Loskutov2017-12-28 07:59:54 +0000
commit33af925ea9bbac3f7be58cd3443730bee19a9277 (patch)
treee621bab73d4c8dda9dbb71f7752a7386ad6e5869
parentdc21038f27457502aacbf2cb458b2d0293a896b0 (diff)
downloadeclipse.platform.ui-33af925ea9bbac3f7be58cd3443730bee19a9277.tar.gz
eclipse.platform.ui-33af925ea9bbac3f7be58cd3443730bee19a9277.tar.xz
eclipse.platform.ui-33af925ea9bbac3f7be58cd3443730bee19a9277.zip
Bug 529254 - updated test code to make maven build happy
Change-Id: I16c99dea6de602a10804a54b1d9bb9a5db0873ad Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
-rw-r--r--tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/progress/ProgressViewTests.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/progress/ProgressViewTests.java b/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/progress/ProgressViewTests.java
index cb3c6e20631..b6f7318d43c 100644
--- a/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/progress/ProgressViewTests.java
+++ b/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/progress/ProgressViewTests.java
@@ -54,7 +54,7 @@ public class ProgressViewTests extends ProgressTestCase {
JobTreeElement info = progressInfoItem.getInfo();
if(info instanceof TaskInfo) {
// if task info then get the parent and check
- Object parent = info.getParent();
+ JobTreeElement parent = info.getParent();
if(parent instanceof JobInfo) {
JobInfo jobInfo = (JobInfo) parent;
job1Found = checkJob(job1, job1Found, jobInfo);

Back to the top