]> source.dussan.org Git - poi.git/commitdiff
Fix Javadoc errors and warnings on JDK 17
authorMarius Volkhart <mariusvolkhart@apache.org>
Fri, 1 Oct 2021 11:37:33 +0000 (11:37 +0000)
committerMarius Volkhart <mariusvolkhart@apache.org>
Fri, 1 Oct 2021 11:37:33 +0000 (11:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893777 13f79535-47bb-0310-9956-ffa450edef68

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

index 47a5350fd32b3bb4a840bd3cc4d07b66247f1e8f..ccbdd517accd68a72af604bebe8bf6a4b33b39b9 100644 (file)
@@ -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
      *
index 7ba700682c6887deb7c94f6cbe39539f58c03440..fd49ab583469e655f5c57074d30bdb8632efd815 100644 (file)
@@ -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
index a219f5c3097657e16f14b521b4ef71f15c60f9e3..b383413e70d062321425fd350d0516ab47801409 100644 (file)
@@ -2971,7 +2971,7 @@ public class XSSFSheet extends POIXMLDocumentPart 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
index 2621876c5a7d0259dbd9910a1ae144fb4812bf3c..9bd69be2328c2e9710069721caf180e78d2c36b2 100644 (file)
@@ -502,7 +502,7 @@ public class DocumentSummaryInformation extends PropertySet {
 
 
     /**
-     * Returns {@code true} if the custom links are dirty. <p>
+     * Returns {@code true} if the custom links are dirty.
      *
      * @return The links dirty value
      */
index 43f59357c751b0b1826132f43e729fe2f8c106f2..e1720b66b1ac25db3857c8e0f59413de3bcd04f1 100644 (file)
@@ -262,7 +262,7 @@ public class VariantSupport extends Variant {
 
     /**
      * 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.
index 0026aabaa89af1c4382d54ff7502ce75caa58a5a..5f50b584bc810799248bd163cef34241acd49123 100644 (file)
@@ -31,8 +31,8 @@ import org.apache.poi.util.LittleEndianInput;
  *  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.LittleEndianInput;
  *  {@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;
index e8556c9a80c678454dac9af31d8653bd4df2c1e7..61136863364ba1cf49d01b44669f08d493f21b66 100644 (file)
@@ -246,7 +246,7 @@ public class ConditionalFormattingEvaluator {
      * 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}
index 16af5253bf7488fef1265ec4afba197d1cef17a5..e9480c68c37c8bc4b79c4ff38ce5de2ec45f2f3a 100644 (file)
@@ -74,11 +74,11 @@ public final class Irr implements Function {
      * 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.
index 1186207bbacb1e55ede4d0c0588683c9305dee51..fadbb6f48b034872207fe29839f89a1269e4e74f 100644 (file)
@@ -700,7 +700,7 @@ public interface Sheet extends Iterable<Row> {
      * 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