Author: centic
Date: Tue Apr  6 06:11:07 2021
New Revision: 1888419

URL: http://svn.apache.org/viewvc?rev=1888419&view=rev
Log:
Adjust some JavaDoc

Modified:
    
poi/trunk/examples/src/main/java/org/apache/poi/examples/hpsf/ModifyDocumentSummaryInformation.java
    
poi/trunk/examples/src/main/java/org/apache/poi/examples/hssf/eventusermodel/XLS2CSVmra.java
    
poi/trunk/examples/src/main/java/org/apache/poi/examples/ss/CalendarDemo.java
    poi/trunk/examples/src/main/java/org/apache/poi/examples/ss/ToCSV.java
    
poi/trunk/examples/src/main/java/org/apache/poi/examples/xssf/eventusermodel/XLSX2CSV.java
    
poi/trunk/examples/src/main/java/org/apache/poi/examples/xssf/usermodel/CalendarDemo.java
    
poi/trunk/examples/src/main/java/org/apache/poi/examples/xssf/usermodel/LoadPasswordProtectedXlsx.java

Modified: 
poi/trunk/examples/src/main/java/org/apache/poi/examples/hpsf/ModifyDocumentSummaryInformation.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/examples/src/main/java/org/apache/poi/examples/hpsf/ModifyDocumentSummaryInformation.java?rev=1888419&r1=1888418&r2=1888419&view=diff
==============================================================================
--- 
poi/trunk/examples/src/main/java/org/apache/poi/examples/hpsf/ModifyDocumentSummaryInformation.java
 (original)
+++ 
poi/trunk/examples/src/main/java/org/apache/poi/examples/hpsf/ModifyDocumentSummaryInformation.java
 Tue Apr  6 06:11:07 2021
@@ -63,7 +63,7 @@ import org.apache.poi.poifs.filesystem.P
  *
  * <li><p>Write the POI filesystem back to the original file.</p></li>
  *
- * </ol>
+ * </ul>
  */
 @SuppressWarnings({"java:S106","java:S4823"})
 public final class ModifyDocumentSummaryInformation {

Modified: 
poi/trunk/examples/src/main/java/org/apache/poi/examples/hssf/eventusermodel/XLS2CSVmra.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/examples/src/main/java/org/apache/poi/examples/hssf/eventusermodel/XLS2CSVmra.java?rev=1888419&r1=1888418&r2=1888419&view=diff
==============================================================================
--- 
poi/trunk/examples/src/main/java/org/apache/poi/examples/hssf/eventusermodel/XLS2CSVmra.java
 (original)
+++ 
poi/trunk/examples/src/main/java/org/apache/poi/examples/hssf/eventusermodel/XLS2CSVmra.java
 Tue Apr  6 06:11:07 2021
@@ -48,7 +48,7 @@ import org.apache.poi.hssf.usermodel.HSS
 import org.apache.poi.poifs.filesystem.POIFSFileSystem;
 
 /**
- * A XLS -> CSV processor, that uses the MissingRecordAware
+ * A XLS -&gt; CSV processor, that uses the MissingRecordAware
  *  EventModel code to ensure it outputs all columns and rows.
  * @author Nick Burch
  */
@@ -83,7 +83,7 @@ public class XLS2CSVmra implements HSSFL
        private boolean outputNextStringRecord;
 
        /**
-        * Creates a new XLS -> CSV converter
+        * Creates a new XLS -&gt; CSV converter
         * @param fs The POIFSFileSystem to process
         * @param output The PrintStream to output the CSV to
         * @param minColumns The minimum number of columns to output, or -1 for 
no minimum
@@ -95,9 +95,11 @@ public class XLS2CSVmra implements HSSFL
        }
 
        /**
-        * Creates a new XLS -> CSV converter
+        * Creates a new XLS -&gt; CSV converter
         * @param filename The file to process
         * @param minColumns The minimum number of columns to output, or -1 for 
no minimum
+        *
+        * @throws IOException if the file cannot be read or parsing the file 
fails
         */
        public XLS2CSVmra(String filename, int minColumns) throws IOException {
                this(
@@ -108,6 +110,8 @@ public class XLS2CSVmra implements HSSFL
 
        /**
         * Initiates the processing of the XLS file to CSV
+        *
+        * @throws IOException if the workbook contained errors
         */
        public void process() throws IOException {
                MissingRecordAwareHSSFListener listener = new 
MissingRecordAwareHSSFListener(this);

Modified: 
poi/trunk/examples/src/main/java/org/apache/poi/examples/ss/CalendarDemo.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/examples/src/main/java/org/apache/poi/examples/ss/CalendarDemo.java?rev=1888419&r1=1888418&r2=1888419&view=diff
==============================================================================
--- 
poi/trunk/examples/src/main/java/org/apache/poi/examples/ss/CalendarDemo.java 
(original)
+++ 
poi/trunk/examples/src/main/java/org/apache/poi/examples/ss/CalendarDemo.java 
Tue Apr  6 06:11:07 2021
@@ -43,7 +43,7 @@ import org.apache.poi.xssf.usermodel.XSS
  * A  monthly calendar created using Apache POI. Each month is on a separate 
sheet.
  * <pre>
  * Usage:
- * CalendarDemo -xls|xlsx <year>
+ * CalendarDemo -xls|xlsx &lt;year&gt;
  * </pre>
  *
  * @author Yegor Kozlov

Modified: poi/trunk/examples/src/main/java/org/apache/poi/examples/ss/ToCSV.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/examples/src/main/java/org/apache/poi/examples/ss/ToCSV.java?rev=1888419&r1=1888418&r2=1888419&view=diff
==============================================================================
--- poi/trunk/examples/src/main/java/org/apache/poi/examples/ss/ToCSV.java 
(original)
+++ poi/trunk/examples/src/main/java/org/apache/poi/examples/ss/ToCSV.java Tue 
Apr  6 06:11:07 2021
@@ -40,7 +40,7 @@ import org.apache.poi.ss.usermodel.Workb
 /**
  * Demonstrates <em>one</em> way to convert an Excel spreadsheet into a CSV
  * file. This class makes the following assumptions;
- * <list>
+ * <ul>
  * <li>1. Where the Excel workbook contains more than one worksheet, then a 
single
  *    CSV file will contain the data from all of the worksheets.</li>
  * <li>2. The data matrix contained in the CSV file will be square. This means 
that
@@ -51,7 +51,7 @@ import org.apache.poi.ss.usermodel.Workb
  * <li>3. Empty fields will represent missing cells.</li>
  * <li>4. A record consisting of empty fields will be used to represent an 
empty row
  *    in the Excel workbook.</li>
- * </list>
+ * </ul>
  * Therefore, if the worksheet looked like this;
  *
  * <pre>

Modified: 
poi/trunk/examples/src/main/java/org/apache/poi/examples/xssf/eventusermodel/XLSX2CSV.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/examples/src/main/java/org/apache/poi/examples/xssf/eventusermodel/XLSX2CSV.java?rev=1888419&r1=1888418&r2=1888419&view=diff
==============================================================================
--- 
poi/trunk/examples/src/main/java/org/apache/poi/examples/xssf/eventusermodel/XLSX2CSV.java
 (original)
+++ 
poi/trunk/examples/src/main/java/org/apache/poi/examples/xssf/eventusermodel/XLSX2CSV.java
 Tue Apr  6 06:11:07 2021
@@ -46,7 +46,7 @@ import org.xml.sax.SAXException;
 import org.xml.sax.XMLReader;
 
 /**
- * A rudimentary XLSX -> CSV processor modeled on the
+ * A rudimentary XLSX -&gt; CSV processor modeled on the
  * POI sample program XLS2CSVmra from the package
  * org.apache.poi.hssf.eventusermodel.examples.
  * As with the HSSF version, this tries to spot missing
@@ -171,7 +171,7 @@ public class XLSX2CSV {
     private final PrintStream output;
 
     /**
-     * Creates a new XLSX -> CSV examples
+     * Creates a new XLSX -&gt; CSV examples
      *
      * @param pkg        The XLSX package to process
      * @param output     The PrintStream to output the CSV to

Modified: 
poi/trunk/examples/src/main/java/org/apache/poi/examples/xssf/usermodel/CalendarDemo.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/examples/src/main/java/org/apache/poi/examples/xssf/usermodel/CalendarDemo.java?rev=1888419&r1=1888418&r2=1888419&view=diff
==============================================================================
--- 
poi/trunk/examples/src/main/java/org/apache/poi/examples/xssf/usermodel/CalendarDemo.java
 (original)
+++ 
poi/trunk/examples/src/main/java/org/apache/poi/examples/xssf/usermodel/CalendarDemo.java
 Tue Apr  6 06:11:07 2021
@@ -45,7 +45,7 @@ import org.apache.poi.xssf.usermodel.XSS
  *
  * <pre>
  * Usage:
- * CalendarDemo <year>
+ * CalendarDemo &lt;year&gt;
  * </pre>
  *
  * @author Yegor Kozlov

Modified: 
poi/trunk/examples/src/main/java/org/apache/poi/examples/xssf/usermodel/LoadPasswordProtectedXlsx.java
URL: 
http://svn.apache.org/viewvc/poi/trunk/examples/src/main/java/org/apache/poi/examples/xssf/usermodel/LoadPasswordProtectedXlsx.java?rev=1888419&r1=1888418&r2=1888419&view=diff
==============================================================================
--- 
poi/trunk/examples/src/main/java/org/apache/poi/examples/xssf/usermodel/LoadPasswordProtectedXlsx.java
 (original)
+++ 
poi/trunk/examples/src/main/java/org/apache/poi/examples/xssf/usermodel/LoadPasswordProtectedXlsx.java
 Tue Apr  6 06:11:07 2021
@@ -35,7 +35,7 @@ import org.apache.poi.xssf.usermodel.XSS
  * <p><ul>
  * <li>The example demonstrates that all temp files are removed.
  * <li><code>AesZipFileZipEntrySource</code> is used to ensure that temp files 
are encrypted.
- * </ul><p>
+ * </ul></p>
  */
 @SuppressWarnings({"java:S106","java:S4823","java:S1192"})
 public final class LoadPasswordProtectedXlsx {



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to