Created attachment 32387 [details] The patch for HSSFWorkbook Hi all, - Please find attached patch for repeated spelling mistake. - Also, why the patch.xml doesn't detect changes in src/documentation/content/xdocs/spreadsheet/quick-guide.xml The below are outdated samples: - NPOIFSFileSytem fs = new NPOIFSFileSystem(new File("file.xls")); - HSSFWorkbook wb = new HSSFWorkbook(fs.getRoot()); + NPOIFSFileSystem fs = new NPOIFSFileSystem(new File("file.xls")); + HSSFWorkbook wb = new HSSFWorkbook(fs.getRoot(), true); .... fs.close(); // HSSFWorkbook, InputStream, needs more memory - NPOIFSFileSytem fs = new NPOIFSFileSystem(myInputStream); - HSSFWorkbook wb = new HSSFWorkbook(fs.getRoot()); + NPOIFSFileSystem fs = new NPOIFSFileSystem(myInputStream); + HSSFWorkbook wb = new HSSFWorkbook(fs.getRoot(), true);
Hi again, - How about 'organize imports' in eclipse? - How about formatting the source code, as for example, braces location is inconsistent, and the codes doesn't strictly follow http://poi.apache.org/guidelines.html#CodeStyle
Fixed via r1658596 and r1658597, thanks for reporting. The codebase is slowly being updated to conform to coding standards, however we did not yet perform a full reformat as it would break lots of patches and changes people maintain locally, maybe we will decide to do this in an automated way sometimes. The documentation is located in a separate SVN repository/path and only linked into the poi working copy via SVN Externals, this likely confuses the patch scripts. You can just run "svn diff" on the src/documentation folder to get those patches computed.