From 8d85066a15b142d7592d0c0db0a9e9050fe5f2f9 Mon Sep 17 00:00:00 2001 From: Christoph Kutzinski Date: Sun, 30 Oct 2011 15:18:28 +0100 Subject: [PATCH] Again javac and jdt doesn't seem to agree whether something is compilable or not --- test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java b/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java index 501628717a..948d4025ed 100644 --- a/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java +++ b/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java @@ -1717,8 +1717,9 @@ public abstract class HudsonTestCase extends TestCase implements RootAction { * a relative path within the Hudson being tested. (IOW, if you really need to hit * a website on the internet, there's nothing wrong with using this method.) */ + @SuppressWarnings("unchecked") @Override - public

P getPage(String url) throws IOException, FailingHttpStatusCodeException { + public Page getPage(String url) throws IOException, FailingHttpStatusCodeException { return super.getPage(url); } -- GitLab