You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ma...@apache.org on 2021/10/01 11:37:33 UTC

svn commit: r1893777 - in /poi/trunk: poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/ poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/ poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/ poi/src/main/java/org/apache/poi/hpsf/ poi/src/...

Author: mariusvolkhart
Date: Fri Oct  1 11:37:33 2021
New Revision: 1893777

URL: http://svn.apache.org/viewvc?rev=1893777&view=rev
Log:
Fix Javadoc errors and warnings on JDK 17

Modified:
    poi/trunk/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureConfig.java
    poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFSheet.java
    poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFSheet.java
    poi/trunk/poi/src/main/java/org/apache/poi/hpsf/DocumentSummaryInformation.java
    poi/trunk/poi/src/main/java/org/apache/poi/hpsf/VariantSupport.java
    poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/cont/ContinuableRecordInput.java
    poi/trunk/poi/src/main/java/org/apache/poi/ss/formula/ConditionalFormattingEvaluator.java
    poi/trunk/poi/src/main/java/org/apache/poi/ss/formula/functions/Irr.java
    poi/trunk/poi/src/main/java/org/apache/poi/ss/usermodel/Sheet.java

Modified: poi/trunk/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureConfig.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureConfig.java?rev=1893777&r1=1893776&r2=1893777&view=diff
==============================================================================
--- poi/trunk/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureConfig.java (original)
+++ poi/trunk/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureConfig.java Fri Oct  1 11:37:33 2021
@@ -1044,7 +1044,7 @@ public class SignatureConfig {
     /**
      * The signature config can be updated if a document is succesful validated.
      * This flag is used for activating this modifications.
-     * Defaults to {@code false}<p>
+     * Defaults to {@code false}
      *
      * @param updateConfigOnValidate if true, update config on validate
      *

Modified: poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFSheet.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFSheet.java?rev=1893777&r1=1893776&r2=1893777&view=diff
==============================================================================
--- poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFSheet.java (original)
+++ poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFSheet.java Fri Oct  1 11:37:33 2021
@@ -986,7 +986,7 @@ public class SXSSFSheet implements Sheet
      * Additionally shifts merged regions that are completely defined in these
      * rows (ie. merged 2 cells on a row to be shifted). All merged regions that are
      * completely overlaid by shifting will be deleted.
-     * <p>
+     *
      * @param startRow the row to start shifting
      * @param endRow the row to end shifting
      * @param n the number of rows to shift

Modified: poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFSheet.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFSheet.java?rev=1893777&r1=1893776&r2=1893777&view=diff
==============================================================================
--- poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFSheet.java (original)
+++ poi/trunk/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFSheet.java Fri Oct  1 11:37:33 2021
@@ -2971,7 +2971,7 @@ public class XSSFSheet extends POIXMLDoc
      * Additionally shifts merged regions that are completely defined in these
      * rows (ie. merged 2 cells on a row to be shifted). All merged regions that are
      * completely overlaid by shifting will be deleted.
-     * <p>
+     *
      * @param startRow the row to start shifting
      * @param endRow the row to end shifting
      * @param n the number of rows to shift

Modified: poi/trunk/poi/src/main/java/org/apache/poi/hpsf/DocumentSummaryInformation.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hpsf/DocumentSummaryInformation.java?rev=1893777&r1=1893776&r2=1893777&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hpsf/DocumentSummaryInformation.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hpsf/DocumentSummaryInformation.java Fri Oct  1 11:37:33 2021
@@ -502,7 +502,7 @@ public class DocumentSummaryInformation
 
 
     /**
-     * Returns {@code true} if the custom links are dirty. <p>
+     * Returns {@code true} if the custom links are dirty.
      *
      * @return The links dirty value
      */

Modified: poi/trunk/poi/src/main/java/org/apache/poi/hpsf/VariantSupport.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hpsf/VariantSupport.java?rev=1893777&r1=1893776&r2=1893777&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hpsf/VariantSupport.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hpsf/VariantSupport.java Fri Oct  1 11:37:33 2021
@@ -262,7 +262,7 @@ public class VariantSupport extends Vari
 
     /**
      * Writes a variant value to an output stream. This method ensures that
-     * always a multiple of 4 bytes is written.<p>
+     * always a multiple of 4 bytes is written.
      *
      * @param out The stream to write the value to.
      * @param type The variant's type.

Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/cont/ContinuableRecordInput.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/cont/ContinuableRecordInput.java?rev=1893777&r1=1893776&r2=1893777&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/cont/ContinuableRecordInput.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/cont/ContinuableRecordInput.java Fri Oct  1 11:37:33 2021
@@ -31,8 +31,8 @@ import org.apache.poi.util.LittleEndianI
  *  Most records construct themselves from {@link RecordInputStream}.
  *  This class assumes that a {@link ContinueRecord} record break always occurs at the type boundary,
  *  however, it is not always so.
- * </p>
- *  Two  attachments to <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=50779">Bugzilla 50779</a>
+ * <p>
+ *  Two attachments to <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=50779">Bugzilla 50779</a>
  *  demonstrate that a CONTINUE break can appear right in between two bytes of a unicode character
  *  or between two bytes of a <code>short</code>. The problematic portion of the data is
  *  in a Asian Phonetic Settings Block (ExtRst) of a UnicodeString.
@@ -40,13 +40,9 @@ import org.apache.poi.util.LittleEndianI
  *  {@link RecordInputStream} greedily requests the bytes to be read and stumbles on such files with a
  *  "Not enough data (1) to read requested (2) bytes" exception.  The <code>ContinuableRecordInput</code>
  *   class circumvents this "type boundary" rule and reads data byte-by-byte rolling over CONTINUE if necessary.
- * </p>
- *
  * <p>
  * YK: For now (March 2011) this class is only used to read
  *   @see org.apache.poi.hssf.record.common.ExtRst blocks of a UnicodeString.
- *
- * </p>
  */
 public class ContinuableRecordInput implements LittleEndianInput {
     private final RecordInputStream _in;

Modified: poi/trunk/poi/src/main/java/org/apache/poi/ss/formula/ConditionalFormattingEvaluator.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/ss/formula/ConditionalFormattingEvaluator.java?rev=1893777&r1=1893776&r2=1893777&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/ss/formula/ConditionalFormattingEvaluator.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/ss/formula/ConditionalFormattingEvaluator.java Fri Oct  1 11:37:33 2021
@@ -246,7 +246,7 @@ public class ConditionalFormattingEvalua
      * The POI data model does not have a back-reference to the owning sheet, so it must be passed in separately.
      * <p>
      * We could overload this with convenience methods taking a sheet name and sheet index as well.
-     * <p>
+     *
      * @param sheet containing the rule
      * @param conditionalFormattingIndex of the {@link ConditionalFormatting} instance in the sheet's array
      * @param ruleIndex of the {@link ConditionalFormattingRule} instance within the {@link ConditionalFormatting}

Modified: poi/trunk/poi/src/main/java/org/apache/poi/ss/formula/functions/Irr.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/ss/formula/functions/Irr.java?rev=1893777&r1=1893776&r2=1893777&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/ss/formula/functions/Irr.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/ss/formula/functions/Irr.java Fri Oct  1 11:37:33 2021
@@ -74,11 +74,11 @@ public final class Irr implements Functi
      * Starting with the guess, the method cycles through the calculation until the result
      * is accurate within 0.00001 percent. If IRR can't find a result that works
      * after 20 tries, the {@code Double.NaN} is returned.
-     * </p>
+     *
      * <p>
      *   The implementation is inspired by the NewtonSolver from the Apache Commons-Math library,
      *   @see <a href="http://commons.apache.org">http://commons.apache.org</a>
-     * </p>
+     *
      *
      * @param values        the income values.
      * @param guess         the initial guess of irr.

Modified: poi/trunk/poi/src/main/java/org/apache/poi/ss/usermodel/Sheet.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/ss/usermodel/Sheet.java?rev=1893777&r1=1893776&r2=1893777&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/ss/usermodel/Sheet.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/ss/usermodel/Sheet.java Fri Oct  1 11:37:33 2021
@@ -700,7 +700,7 @@ public interface Sheet extends Iterable<
      * Additionally shifts merged regions that are completely defined in these
      * rows (ie. merged 2 cells on a row to be shifted). All merged regions that are
      * completely overlaid by shifting will be deleted.
-     * <p>
+     *
      * @param startRow the row to start shifting
      * @param endRow the row to end shifting
      * @param n the number of rows to shift



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org