]> source.dussan.org Git - poi.git/commitdiff
fixed error in eval.xml: use &lt; instead of '<'
authorYegor Kozlov <yegor@apache.org>
Sat, 11 Oct 2008 10:31:24 +0000 (10:31 +0000)
committerYegor Kozlov <yegor@apache.org>
Sat, 11 Oct 2008 10:31:24 +0000 (10:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@703645 13f79535-47bb-0310-9956-ffa450edef68

src/documentation/content/xdocs/hssf/eval.xml

index 61cb6637475e2a9cf411010021ca091c9183a73a..15e122b7bc209f217f560733d7427cc4f084b4bd 100644 (file)
@@ -207,7 +207,7 @@ if (cell!=null) {
 FileInputStream fis = new FileInputStream("/somepath/test.xls");
 HSSFWorkbook wb = new HSSFWorkbook(fis);
 HSSFFormulaEvaluator evaluator = new HSSFFormulaEvaluator(wb);
-for(int sheetNum = 0; sheetNum < wb.getNumberOfSheets(); sheetNum++) {
+for(int sheetNum = 0; sheetNum &lt; wb.getNumberOfSheets(); sheetNum++) {
        HSSFSheet sheet = wb.getSheetAt(sheetNum);
 
        for(Iterator rit = sheet.rowIterator(); rit.hasNext();) {