diff options
author | PJ Fanning <fanningpj@apache.org> | 2022-07-10 10:29:33 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2022-07-10 10:29:33 +0000 |
commit | 72e7df6b5c68796bfde843363a1e189a66d2066e (patch) | |
tree | 46f6f52df32dfe5c4f1cdaf8cfa6b781c4cc36f5 /poi | |
parent | 4cda0c91fd6c67aebdfa28febc296f271dec215d (diff) | |
download | poi-72e7df6b5c68796bfde843363a1e189a66d2066e.tar.gz poi-72e7df6b5c68796bfde843363a1e189a66d2066e.zip |
javadoc issues
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902624 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi')
18 files changed, 18 insertions, 18 deletions
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<EscherRecord> _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: * * <ul> * diff --git a/poi/src/main/java/org/apache/poi/hssf/record/DVALRecord.java b/poi/src/main/java/org/apache/poi/hssf/record/DVALRecord.java index 9589315aa3..9c37e5c4df 100644 --- a/poi/src/main/java/org/apache/poi/hssf/record/DVALRecord.java +++ b/poi/src/main/java/org/apache/poi/hssf/record/DVALRecord.java @@ -118,7 +118,7 @@ public final class DVALRecord extends StandardRecord { } /** - * @return the the Vertical position of the dialog + * @return the Vertical position of the dialog */ public int getVerticalPos() { return field_3_vert_pos; diff --git a/poi/src/main/java/org/apache/poi/hssf/record/NoteStructureSubRecord.java b/poi/src/main/java/org/apache/poi/hssf/record/NoteStructureSubRecord.java index 67256f11ac..e15e05a92f 100644 --- a/poi/src/main/java/org/apache/poi/hssf/record/NoteStructureSubRecord.java +++ b/poi/src/main/java/org/apache/poi/hssf/record/NoteStructureSubRecord.java @@ -43,7 +43,7 @@ public final class NoteStructureSubRecord extends SubRecord { * fill its data with the default values */ public NoteStructureSubRecord() { - //all we know is that the the length of <code>NoteStructureSubRecord</code> is always 22 bytes + //all we know is that the length of <code>NoteStructureSubRecord</code> is always 22 bytes reserved = new byte[ENCODED_SIZE]; } diff --git a/poi/src/main/java/org/apache/poi/hssf/record/aggregates/FormulaRecordAggregate.java b/poi/src/main/java/org/apache/poi/hssf/record/aggregates/FormulaRecordAggregate.java index 76d88a28d2..5ce1f62f68 100644 --- a/poi/src/main/java/org/apache/poi/hssf/record/aggregates/FormulaRecordAggregate.java +++ b/poi/src/main/java/org/apache/poi/hssf/record/aggregates/FormulaRecordAggregate.java @@ -82,7 +82,7 @@ public final class FormulaRecordAggregate extends RecordAggregate implements Cel * {@link SharedFormulaRecord} does not exist). Normally this would leave no way of determining * the {@link Ptg} tokens for the formula. However as it turns out in these * cases, Excel encodes the unshared {@link Ptg} tokens in the right place (inside the {@link - * FormulaRecord}). So the the only thing that needs to be done is to ignore the erroneous + * FormulaRecord}). So the only thing that needs to be done is to ignore the erroneous * shared formula flag.<br> * * This method may also be used for setting breakpoints to help diagnose issues regarding the diff --git a/poi/src/main/java/org/apache/poi/hssf/record/aggregates/SharedValueManager.java b/poi/src/main/java/org/apache/poi/hssf/record/aggregates/SharedValueManager.java index 20d73d80a3..45e3c12c44 100644 --- a/poi/src/main/java/org/apache/poi/hssf/record/aggregates/SharedValueManager.java +++ b/poi/src/main/java/org/apache/poi/hssf/record/aggregates/SharedValueManager.java @@ -184,7 +184,7 @@ public final class SharedValueManager { * * @return the SHRFMLA, TABLE or ARRAY record for the formula cell, if it is the first cell of * a table or array region. {@code null} if the formula cell is not shared/array/table, - * or if the specified formula is not the the first in the group. + * or if the specified formula is not the first in the group. */ public SharedValueRecordBase getRecordForFirstCell(FormulaRecordAggregate agg) { CellReference firstCell = agg.getFormulaRecord().getFormula().getExpReference(); diff --git a/poi/src/main/java/org/apache/poi/poifs/crypt/CryptoFunctions.java b/poi/src/main/java/org/apache/poi/poifs/crypt/CryptoFunctions.java index ea0298a829..d48c58f1f1 100644 --- a/poi/src/main/java/org/apache/poi/poifs/crypt/CryptoFunctions.java +++ b/poi/src/main/java/org/apache/poi/poifs/crypt/CryptoFunctions.java @@ -161,7 +161,7 @@ public final class CryptoFunctions { * {@code blockKey: IV = H(KeySalt + blockKey)}</li> * <li>If a blockKey is not provided, let IV be equal to the following value:<br> * {@code KeySalt:IV = KeySalt}</li> - * <li>If the number of bytes in the value of IV is less than the the value of the blockSize attribute + * <li>If the number of bytes in the value of IV is less than the value of the blockSize attribute * corresponding to the cipherAlgorithm attribute, pad the array of bytes by appending 0x36 until * the array is blockSize bytes. If the array of bytes is larger than blockSize bytes, truncate the * array to blockSize bytes.</li> diff --git a/poi/src/main/java/org/apache/poi/poifs/filesystem/BATManaged.java b/poi/src/main/java/org/apache/poi/poifs/filesystem/BATManaged.java index dd0a6d679a..3f6631e1ea 100644 --- a/poi/src/main/java/org/apache/poi/poifs/filesystem/BATManaged.java +++ b/poi/src/main/java/org/apache/poi/poifs/filesystem/BATManaged.java @@ -39,7 +39,7 @@ public interface BATManaged * Set the start block for this instance * * @param index index into the array of BigBlock instances making - * up the the filesystem + * up the filesystem */ void setStartBlock(final int index); diff --git a/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSDocumentPath.java b/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSDocumentPath.java index 2179ecdfdc..61797ad2f8 100644 --- a/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSDocumentPath.java +++ b/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSDocumentPath.java @@ -52,7 +52,7 @@ public class POIFSDocumentPath { * constructor for the path of a document that is not in the root of the POIFSFileSystem * * @param components the Strings making up the path to a document. - * The Strings must be ordered as they appear in the directory hierarchy of the the document. + * The Strings must be ordered as they appear in the directory hierarchy of the document. * The first string must be the name of a directory in the root of the POIFSFileSystem, and * every Nth (for N > 1) string thereafter must be the name of a directory in the directory * identified by the (N-1)th string.<p> diff --git a/poi/src/main/java/org/apache/poi/poifs/macros/VBAMacroReader.java b/poi/src/main/java/org/apache/poi/poifs/macros/VBAMacroReader.java index 789bfbb702..23b2936af3 100644 --- a/poi/src/main/java/org/apache/poi/poifs/macros/VBAMacroReader.java +++ b/poi/src/main/java/org/apache/poi/poifs/macros/VBAMacroReader.java @@ -785,7 +785,7 @@ public class VBAMacroReader implements Closeable { /** * Sometimes the offset record in the dirstream is incorrect, but the macro can still be found. - * This will try to find the the first RLEDecompressing stream that starts with "Attribute". + * This will try to find the first RLEDecompressing stream that starts with "Attribute". * This relies on some, er, heuristics, admittedly. * * @param is full module inputstream to read diff --git a/poi/src/main/java/org/apache/poi/poifs/property/PropertyTable.java b/poi/src/main/java/org/apache/poi/poifs/property/PropertyTable.java index c595c71a99..bd597607e4 100644 --- a/poi/src/main/java/org/apache/poi/poifs/property/PropertyTable.java +++ b/poi/src/main/java/org/apache/poi/poifs/property/PropertyTable.java @@ -152,7 +152,7 @@ public final class PropertyTable implements BATManaged { * Set the start block for this instance * * @param index index into the array of BigBlock instances making - * up the the filesystem + * up the filesystem */ public void setStartBlock(final int index) { _header_block.setPropertyStart(index); diff --git a/poi/src/main/java/org/apache/poi/sl/usermodel/PresetColor.java b/poi/src/main/java/org/apache/poi/sl/usermodel/PresetColor.java index 2538d1b828..6ba3a4c514 100644 --- a/poi/src/main/java/org/apache/poi/sl/usermodel/PresetColor.java +++ b/poi/src/main/java/org/apache/poi/sl/usermodel/PresetColor.java @@ -31,7 +31,7 @@ import java.util.Map; */ public enum PresetColor { // the order of this enum can be found in the definition of .net System.Drawing.KnownColor enumeration - // or by running the the program in the linked documentation + // or by running the program in the linked documentation // default colors for theme-depending colors taken from ... (last post): // https://social.technet.microsoft.com/Forums/windows/en-US/ac76cc56-6ff2-4778-b260-8141d7170a3b/windows-7-highlight-text-color-or-selected-text-color-in-aero diff --git a/poi/src/main/java/org/apache/poi/ss/util/ImageUtils.java b/poi/src/main/java/org/apache/poi/ss/util/ImageUtils.java index b156ba0607..adb426d358 100644 --- a/poi/src/main/java/org/apache/poi/ss/util/ImageUtils.java +++ b/poi/src/main/java/org/apache/poi/ss/util/ImageUtils.java @@ -111,7 +111,7 @@ public final class ImageUtils { /** * The metadata of PNG and JPEG can contain the width of a pixel in millimeters. - * Return the the "effective" dpi calculated as <code>25.4/HorizontalPixelSize</code> + * Return the "effective" dpi calculated as <code>25.4/HorizontalPixelSize</code> * and <code>25.4/VerticalPixelSize</code>. Where 25.4 is the number of mm in inch. * * @return array of two elements: <code>{horizontalDpi, verticalDpi}</code>. diff --git a/poi/src/main/java/org/apache/poi/ss/util/MutableFPNumber.java b/poi/src/main/java/org/apache/poi/ss/util/MutableFPNumber.java index 0eb27696d0..335446e7ae 100644 --- a/poi/src/main/java/org/apache/poi/ss/util/MutableFPNumber.java +++ b/poi/src/main/java/org/apache/poi/ss/util/MutableFPNumber.java @@ -25,7 +25,7 @@ final class MutableFPNumber { // TODO - what about values between (10<sup>14</sup>-0.5) and (10<sup>14</sup>-0.05) ? /** * The minimum value in 'Base-10 normalised form'.<br> - * When {@link #_binaryExponent} == 46 this is the the minimum {@link #_frac} value + * When {@link #_binaryExponent} == 46 this is the minimum {@link #_frac} value * (10<sup>14</sup>-0.05) * 2^17 * <br> * Values between (10<sup>14</sup>-0.05) and 10<sup>14</sup> will be represented as '1' diff --git a/poi/src/test/java/org/apache/poi/hssf/model/TestFormulaParser.java b/poi/src/test/java/org/apache/poi/hssf/model/TestFormulaParser.java index f10d035d6c..ca3d312f83 100644 --- a/poi/src/test/java/org/apache/poi/hssf/model/TestFormulaParser.java +++ b/poi/src/test/java/org/apache/poi/hssf/model/TestFormulaParser.java @@ -139,7 +139,7 @@ final 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]; //FuncVarPtg assertTrue(tfunc.isExternalFunction()); diff --git a/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFDataFormatter.java b/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFDataFormatter.java index 9e9846e1ef..576fa6e279 100644 --- a/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFDataFormatter.java +++ b/poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFDataFormatter.java @@ -298,7 +298,7 @@ public final class TestHSSFDataFormatter { while (it.hasNext()) { HSSFCell cell = (HSSFCell) it.next(); log(formatter.formatCellValue(cell)); - // in some locales the the decimal delimiter is a comma, not a dot + // in some locales the decimal delimiter is a comma, not a dot char decimalSeparator = DecimalFormatSymbols.getInstance(LocaleUtil.getUserLocale()).getDecimalSeparator(); assertEquals("12345678" + decimalSeparator + "9", formatter.formatCellValue(cell)); } diff --git a/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestNamedRange.java b/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestNamedRange.java index 60a676fc7b..cdc514f3ab 100644 --- a/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestNamedRange.java +++ b/poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestNamedRange.java @@ -524,7 +524,7 @@ public abstract class BaseTestNamedRange { * </pre> * * This caused trouble for anything that requires {@link Name#getRefersToFormula()} - * It is easy enough to re-create the the same data (by not setting the formula). Excel + * It is easy enough to re-create the same data (by not setting the formula). Excel * seems to gracefully remove this uninitialized name record. It would be nice if POI * could do the same, but that would involve adjusting subsequent name indexes across * all formulas. <p> |