From c8094ad16107d3fc77188ff21950c550dff5c848 Mon Sep 17 00:00:00 2001 From: Christoph Kutzinski Date: Sun, 13 Nov 2011 14:36:47 +0100 Subject: [PATCH] fixed compile error in Eclipse --- .../java/hudson/matrix/MatrixConfigurationSorterTest.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/src/test/java/hudson/matrix/MatrixConfigurationSorterTest.java b/test/src/test/java/hudson/matrix/MatrixConfigurationSorterTest.java index 96fc84c3b7..da4c0ead02 100644 --- a/test/src/test/java/hudson/matrix/MatrixConfigurationSorterTest.java +++ b/test/src/test/java/hudson/matrix/MatrixConfigurationSorterTest.java @@ -1,6 +1,8 @@ package hudson.matrix; +import hudson.model.Item; import hudson.util.FormValidation; + import org.jvnet.hudson.test.HudsonTestCase; import org.jvnet.hudson.test.TestExtension; import org.kohsuke.stapler.DataBoundConstructor; @@ -11,13 +13,13 @@ import org.kohsuke.stapler.DataBoundConstructor; public class MatrixConfigurationSorterTest extends HudsonTestCase { public void testConfigRoundtrip() throws Exception { MatrixProject p = createMatrixProject(); - configRoundtrip(p); + configRoundtrip((Item)p); assertNull(p.getSorter()); SorterImpl before = new SorterImpl(); p.setSorter(before); p.setRunSequentially(true); - configRoundtrip(p); + configRoundtrip((Item)p); Object after = p.getSorter(); assertNotSame(before,after); assertSame(before.getClass(),after.getClass()); -- GitLab