diff options
author | Josh Micich <josh@apache.org> | 2008-08-25 22:41:08 +0000 |
---|---|---|
committer | Josh Micich <josh@apache.org> | 2008-08-25 22:41:08 +0000 |
commit | 04dfa8d39f2592299829fff743621b93ff64c965 (patch) | |
tree | 881398768360c038ef30c0ab76419702ce091282 /src/testcases/org/apache/poi/hssf/eventmodel | |
parent | d4b6c06f2b15a1aa1e9f991192e6869ca35d4f3a (diff) | |
download | poi-04dfa8d39f2592299829fff743621b93ff64c965.tar.gz poi-04dfa8d39f2592299829fff743621b93ff64c965.zip |
Replaced calls to deprecated versions of createCell(), getCell(), createRow(), and getRow(). (Changing short to int)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@688910 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/eventmodel')
-rw-r--r-- | src/testcases/org/apache/poi/hssf/eventmodel/TestModelFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testcases/org/apache/poi/hssf/eventmodel/TestModelFactory.java b/src/testcases/org/apache/poi/hssf/eventmodel/TestModelFactory.java index 2d3759994e..14e3c2c56d 100644 --- a/src/testcases/org/apache/poi/hssf/eventmodel/TestModelFactory.java +++ b/src/testcases/org/apache/poi/hssf/eventmodel/TestModelFactory.java @@ -139,7 +139,7 @@ public class TestModelFactory extends TestCase ByteArrayOutputStream stream = new ByteArrayOutputStream(); HSSFSheet sheet = book.createSheet("Test"); HSSFRow row = sheet.createRow(0); - HSSFCell cell = row.createCell((short)0); + HSSFCell cell = row.createCell(0); cell.setCellValue(10.5); book.write(stream); return stream; |