From: PJ Fanning Date: Sun, 10 Jul 2022 10:29:33 +0000 (+0000) Subject: javadoc issues X-Git-Tag: REL_5_2_3~207 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=72e7df6b5c68796bfde843363a1e189a66d2066e;p=poi.git javadoc issues git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902624 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/RepeatingRowsAndColumns.java b/poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/RepeatingRowsAndColumns.java index db737cd5bb..a48c8ed14b 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/RepeatingRowsAndColumns.java +++ b/poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/RepeatingRowsAndColumns.java @@ -51,7 +51,7 @@ public class RepeatingRowsAndColumns { sheet1.setRepeatingColumns(CellRangeAddress.valueOf("A:C")); // Set the rows to repeat from row 0 to 2 on the second sheet. sheet2.setRepeatingRows(CellRangeAddress.valueOf("1:3")); - // Set the the repeating rows and columns on the third sheet. + // Set the repeating rows and columns on the third sheet. CellRangeAddress cra = CellRangeAddress.valueOf("D1:E2"); sheet3.setRepeatingColumns(cra); sheet3.setRepeatingRows(cra); diff --git a/poi-examples/src/main/java/org/apache/poi/examples/ss/AddDimensionedImage.java b/poi-examples/src/main/java/org/apache/poi/examples/ss/AddDimensionedImage.java index 6a764d6e32..c41e4c0007 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/ss/AddDimensionedImage.java +++ b/poi-examples/src/main/java/org/apache/poi/examples/ss/AddDimensionedImage.java @@ -116,7 +116,7 @@ import java.util.Locale; *

* The following example demonstrates a slightly different way to insert an * image into cell A1 and to ensure that it occupies the whole of the cell. This - * is accomplished by specifying the the images bottom right hand corner should be + * is accomplished by specifying the images bottom right hand corner should be * aligned with the bottom right hand corner of the cell. It is also a case * where the image will not increase in size if the user increases the size of * the enclosing cell - irrespective of the anchors type - but it will reduce in @@ -182,7 +182,7 @@ import java.util.Locale; * * @version 1.00 5th August 2009. * 2.00 26th February 2010. - * Ported to make use of the the SS usermodel classes. + * Ported to make use of the SS usermodel classes. * Ability to reuse the Drawing Patriarch so that multiple images * can be inserted without unintentionally erasing earlier images. * Check on image type added; i.e. jpg, jpeg or png. diff --git a/poi-examples/src/main/java/org/apache/poi/examples/xssf/usermodel/WorkingWithPageSetup.java b/poi-examples/src/main/java/org/apache/poi/examples/xssf/usermodel/WorkingWithPageSetup.java index f05f6ff8d1..2fe5e9c826 100644 --- a/poi-examples/src/main/java/org/apache/poi/examples/xssf/usermodel/WorkingWithPageSetup.java +++ b/poi-examples/src/main/java/org/apache/poi/examples/xssf/usermodel/WorkingWithPageSetup.java @@ -65,7 +65,7 @@ public class WorkingWithPageSetup { // Set the columns to repeat from column 0 to 2 on the first sheet sheet1.setRepeatingColumns(CellRangeAddress.valueOf("A:C")); - // Set the the repeating rows and columns on the second sheet. + // Set the repeating rows and columns on the second sheet. CellRangeAddress cra = CellRangeAddress.valueOf("E2:F3"); sheet2.setRepeatingColumns(cra); sheet2.setRepeatingRows(cra); diff --git a/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/OPCPackage.java b/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/OPCPackage.java index 1035459f82..843e4d7e9b 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/OPCPackage.java +++ b/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/OPCPackage.java @@ -1469,7 +1469,7 @@ public abstract class OPCPackage implements RelationshipSource, Closeable { this.throwExceptionIfReadOnly(); - // You shouldn't save the the same file, do a close instead + // You shouldn't save the same file, do a close instead if(targetFile.exists() && targetFile.getAbsolutePath().equals(this.originalPackagePath)) { throw new InvalidOperationException( diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/model/Styles.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/model/Styles.java index 135581c7d0..7f2460f323 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/model/Styles.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/model/Styles.java @@ -34,7 +34,7 @@ public interface Styles { /** * Puts fmt in the numberFormats map if the format is not - * already in the the number format style table. + * already in the number format style table. * Does nothing if fmt is already in number format style table. * * @param fmt the number format to add to number format style table diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/model/StylesTable.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/model/StylesTable.java index 3345eac4eb..c56cece348 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/model/StylesTable.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/model/StylesTable.java @@ -308,7 +308,7 @@ public class StylesTable extends POIXMLDocumentPart implements Styles { /** * Puts {@code fmt} in the numberFormats map if the format is not - * already in the the number format style table. + * already in the number format style table. * Does nothing if {@code fmt} is already in number format style table. * * @param fmt the number format to add to number format style table diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java index 37ea1519be..c6982ca3ce 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java @@ -338,7 +338,7 @@ public class SXSSFWorkbook implements Workbook { * If the "compress" flag is set to true then the temporary XML is gzipped. *

*

- * Please note the the "compress" option may cause performance penalty. + * Please note the "compress" option may cause performance penalty. *

*

* Setting this option only affects compression for subsequent createSheet() diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java index 8d37d10709..ec50f0d5d7 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java @@ -51,7 +51,7 @@ import org.openxmlformats.schemas.spreadsheetml.x2006.main.STPatternType; /** * - * High level representation of the the possible formatting information for the contents of the cells on a sheet in a + * High level representation of the possible formatting information for the contents of the cells on a sheet in a * SpreadsheetML document. * * @see org.apache.poi.xssf.usermodel.XSSFWorkbook#createCellStyle() diff --git a/poi-ooxml/src/test/java/org/apache/poi/ss/tests/formula/TestFormulaParser.java b/poi-ooxml/src/test/java/org/apache/poi/ss/tests/formula/TestFormulaParser.java index 18e189b03c..213686f62f 100644 --- a/poi-ooxml/src/test/java/org/apache/poi/ss/tests/formula/TestFormulaParser.java +++ b/poi-ooxml/src/test/java/org/apache/poi/ss/tests/formula/TestFormulaParser.java @@ -108,7 +108,7 @@ class TestFormulaParser { assertEquals("arg", arg.getValue()); // The external FunctionPtg is the last Ptg added to the stack - // During formula evaluation, this Ptg pops off the the appropriate number of + // During formula evaluation, this Ptg pops off the appropriate number of // arguments (getNumberOfOperands()) and pushes the result on the stack AbstractFunctionPtg tfunc = (AbstractFunctionPtg) ptg[2]; assertTrue(tfunc.isExternalFunction()); diff --git a/poi/src/main/java/org/apache/poi/ddf/EscherSpRecord.java b/poi/src/main/java/org/apache/poi/ddf/EscherSpRecord.java index acec08ed32..208e22bcbc 100644 --- a/poi/src/main/java/org/apache/poi/ddf/EscherSpRecord.java +++ b/poi/src/main/java/org/apache/poi/ddf/EscherSpRecord.java @@ -26,7 +26,7 @@ import org.apache.poi.util.GenericRecordUtil; import org.apache.poi.util.LittleEndian; /** - * Together the the EscherOptRecord this record defines some of the basic + * Together the EscherOptRecord this record defines some of the basic * properties of a shape. */ public class EscherSpRecord extends EscherRecord { diff --git a/poi/src/main/java/org/apache/poi/ddf/UnknownEscherRecord.java b/poi/src/main/java/org/apache/poi/ddf/UnknownEscherRecord.java index 28fbfb28c4..aff4e213f9 100644 --- a/poi/src/main/java/org/apache/poi/ddf/UnknownEscherRecord.java +++ b/poi/src/main/java/org/apache/poi/ddf/UnknownEscherRecord.java @@ -39,7 +39,7 @@ public final class UnknownEscherRecord extends EscherRecord { private static final byte[] NO_BYTES = new byte[0]; - /** The data for this record not including the the 8 byte header */ + /** The data for this record not including the 8 byte header */ private byte[] thedata = NO_BYTES; private final List _childRecords = new ArrayList<>(); diff --git a/poi/src/main/java/org/apache/poi/hpsf/Section.java b/poi/src/main/java/org/apache/poi/hpsf/Section.java index e7c5245da9..5ebaf43ad3 100644 --- a/poi/src/main/java/org/apache/poi/hpsf/Section.java +++ b/poi/src/main/java/org/apache/poi/hpsf/Section.java @@ -634,7 +634,7 @@ public class Section { /** * Checks whether this section is equal to another object. The result is - * {@code false} if one of the the following conditions holds: + * {@code false} if one of the following conditions holds: * *