From 9e7840d3f9342f45ff70a4b9f4b574a50c3946cf Mon Sep 17 00:00:00 2001 From: Glen Stampoultzis Date: Sun, 10 Mar 2002 12:00:57 +0000 Subject: [PATCH] Slight change to sheet example git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352171 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/apache/poi/hssf/usermodel/examples/NewSheet.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/examples/src/org/apache/poi/hssf/usermodel/examples/NewSheet.java b/src/examples/src/org/apache/poi/hssf/usermodel/examples/NewSheet.java index 3b92bbe032..4a9ab790a8 100644 --- a/src/examples/src/org/apache/poi/hssf/usermodel/examples/NewSheet.java +++ b/src/examples/src/org/apache/poi/hssf/usermodel/examples/NewSheet.java @@ -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(); -- 2.39.5