]> source.dussan.org Git - poi.git/commitdiff
Slight change to sheet example
authorGlen Stampoultzis <glens@apache.org>
Sun, 10 Mar 2002 12:00:57 +0000 (12:00 +0000)
committerGlen Stampoultzis <glens@apache.org>
Sun, 10 Mar 2002 12:00:57 +0000 (12:00 +0000)
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352171 13f79535-47bb-0310-9956-ffa450edef68

src/examples/src/org/apache/poi/hssf/usermodel/examples/NewSheet.java

index 3b92bbe032d439742001560b872a288598d9f0e9..4a9ab790a88d2e6f5473c8068f5f33cc0c3eff29 100644 (file)
@@ -71,7 +71,8 @@ public class NewSheet
         throws IOException
     {
         HSSFWorkbook wb = new HSSFWorkbook();
-        HSSFSheet sheet = wb.createSheet("new sheet");
+        HSSFSheet sheet1 = wb.createSheet("new sheet");
+        HSSFSheet sheet2 = wb.createSheet("second sheet");
         FileOutputStream fileOut = new FileOutputStream("workbook.xls");
         wb.write(fileOut);
         fileOut.close();