]> source.dussan.org Git - poi.git/commitdiff
Refine JavaDoc of WorkbookFactory slightly
authorDominik Stadler <centic@apache.org>
Thu, 16 May 2019 11:40:38 +0000 (11:40 +0000)
committerDominik Stadler <centic@apache.org>
Thu, 16 May 2019 11:40:38 +0000 (11:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1859368 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/ss/usermodel/WorkbookFactory.java

index 157dcb50b1648f096ffb5fab448f0a5eb7563563..f94850147aa69dd36b5c5942429770903918daa2 100644 (file)
@@ -52,7 +52,7 @@ public class WorkbookFactory {
      *
      * @return The created workbook
      *
-     * @throws IOException if an error occurs while reading the data
+     * @throws IOException if an error occurs while creating the objects
      */
     public static Workbook create(boolean xssf) throws IOException {
         if(xssf) {
@@ -160,13 +160,14 @@ public class WorkbookFactory {
      * <p>Note that in order to properly release resources the
      *  Workbook should be closed after use.</p>
      *
-     *  @param pkg The {@link org.apache.poi.openxml4j.opc.OPCPackage} opened for reading data.
+     *  @param pkg The org.apache.poi.openxml4j.opc.OPCPackage opened for reading data.
      *
      *  @return The created Workbook
      *
      *  @throws IOException if an error occurs while reading the data
      *
-     * @deprecated use XSSFWorkbookFactory.create
+     * @deprecated use {@link #create(File)}, {@link #create(InputStream)} or
+     *          XSSFWorkbookFactory.create(OPCPackage) instead.
      */
     @Deprecated
     @Removal(version = "4.2.0")