From 6787092d332134879823b0d3378ae7a895ce47ec Mon Sep 17 00:00:00 2001 From: Shawn Laubach Date: Tue, 4 Nov 2003 19:29:55 +0000 Subject: [PATCH] Fix supplied for bug 24397 where some compilation got ambiguous classes. Explicitly imports the classes. Patch supplied by Jean-Pierre Paris. git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353437 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/hssf/usermodel/TestSheetShiftRows.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestSheetShiftRows.java b/src/testcases/org/apache/poi/hssf/usermodel/TestSheetShiftRows.java index a48fb683fc..e91003e4da 100755 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestSheetShiftRows.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestSheetShiftRows.java @@ -175,5 +175,18 @@ public class TestSheetShiftRows extends TestCase { s.createRow(3).createCell((short)0).setCellValue("TEST2"); s.shiftRows(0,4,1); } + + /** + * Tests when shifting the first row. + * + * @author Toshiaki Kamoshida (kamoshida.toshiaki at future dot co dot jp) + */ + public void testShiftRow0(){ + HSSFWorkbook b = new HSSFWorkbook(); + HSSFSheet s = b.createSheet(); + s.createRow(0).createCell((short)0).setCellValue("TEST1"); + s.createRow(3).createCell((short)0).setCellValue("TEST2"); + s.shiftRows(0,4,1); + } } -- 2.39.5