diff --git a/src/ooxml/java/org/apache/poi/ss/usermodel/WorkbookFactory.java b/src/ooxml/java/org/apache/poi/ss/usermodel/WorkbookFactory.java index a2d487c5e1..eeb24a4eb4 100644 --- a/src/ooxml/java/org/apache/poi/ss/usermodel/WorkbookFactory.java +++ b/src/ooxml/java/org/apache/poi/ss/usermodel/WorkbookFactory.java @@ -84,6 +84,8 @@ public class WorkbookFactory { /** * Creates the appropriate HSSFWorkbook / XSSFWorkbook from * the given File, which must exist and be readable. + *

Note that for Workbooks opened this way, it is not possible + * to explicitly close the underlying File resource. */ public static Workbook create(File file) throws IOException, InvalidFormatException { if (! file.exists()) {