Browse Source

javadoc issues

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902624 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_5_2_3
PJ Fanning 1 year ago
parent
commit
72e7df6b5c
27 changed files with 28 additions and 28 deletions
  1. 1
    1
      poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/RepeatingRowsAndColumns.java
  2. 2
    2
      poi-examples/src/main/java/org/apache/poi/examples/ss/AddDimensionedImage.java
  3. 1
    1
      poi-examples/src/main/java/org/apache/poi/examples/xssf/usermodel/WorkingWithPageSetup.java
  4. 1
    1
      poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/OPCPackage.java
  5. 1
    1
      poi-ooxml/src/main/java/org/apache/poi/xssf/model/Styles.java
  6. 1
    1
      poi-ooxml/src/main/java/org/apache/poi/xssf/model/StylesTable.java
  7. 1
    1
      poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java
  8. 1
    1
      poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java
  9. 1
    1
      poi-ooxml/src/test/java/org/apache/poi/ss/tests/formula/TestFormulaParser.java
  10. 1
    1
      poi/src/main/java/org/apache/poi/ddf/EscherSpRecord.java
  11. 1
    1
      poi/src/main/java/org/apache/poi/ddf/UnknownEscherRecord.java
  12. 1
    1
      poi/src/main/java/org/apache/poi/hpsf/Section.java
  13. 1
    1
      poi/src/main/java/org/apache/poi/hssf/record/DVALRecord.java
  14. 1
    1
      poi/src/main/java/org/apache/poi/hssf/record/NoteStructureSubRecord.java
  15. 1
    1
      poi/src/main/java/org/apache/poi/hssf/record/aggregates/FormulaRecordAggregate.java
  16. 1
    1
      poi/src/main/java/org/apache/poi/hssf/record/aggregates/SharedValueManager.java
  17. 1
    1
      poi/src/main/java/org/apache/poi/poifs/crypt/CryptoFunctions.java
  18. 1
    1
      poi/src/main/java/org/apache/poi/poifs/filesystem/BATManaged.java
  19. 1
    1
      poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSDocumentPath.java
  20. 1
    1
      poi/src/main/java/org/apache/poi/poifs/macros/VBAMacroReader.java
  21. 1
    1
      poi/src/main/java/org/apache/poi/poifs/property/PropertyTable.java
  22. 1
    1
      poi/src/main/java/org/apache/poi/sl/usermodel/PresetColor.java
  23. 1
    1
      poi/src/main/java/org/apache/poi/ss/util/ImageUtils.java
  24. 1
    1
      poi/src/main/java/org/apache/poi/ss/util/MutableFPNumber.java
  25. 1
    1
      poi/src/test/java/org/apache/poi/hssf/model/TestFormulaParser.java
  26. 1
    1
      poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFDataFormatter.java
  27. 1
    1
      poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestNamedRange.java

+ 1
- 1
poi-examples/src/main/java/org/apache/poi/examples/hssf/usermodel/RepeatingRowsAndColumns.java View File

@@ -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);

+ 2
- 2
poi-examples/src/main/java/org/apache/poi/examples/ss/AddDimensionedImage.java View File

@@ -116,7 +116,7 @@ import java.util.Locale;
* <p>
* 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.

+ 1
- 1
poi-examples/src/main/java/org/apache/poi/examples/xssf/usermodel/WorkingWithPageSetup.java View File

@@ -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);

+ 1
- 1
poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/OPCPackage.java View File

@@ -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(

+ 1
- 1
poi-ooxml/src/main/java/org/apache/poi/xssf/model/Styles.java View File

@@ -34,7 +34,7 @@ public interface Styles {

/**
* Puts <code>fmt</code> 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</code> is already in number format style table.
*
* @param fmt the number format to add to number format style table

+ 1
- 1
poi-ooxml/src/main/java/org/apache/poi/xssf/model/StylesTable.java View File

@@ -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

+ 1
- 1
poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/SXSSFWorkbook.java View File

@@ -338,7 +338,7 @@ public class SXSSFWorkbook implements Workbook {
* If the "compress" flag is set to <code>true</code> then the temporary XML is gzipped.
* </p>
* <p>
* Please note the the "compress" option may cause performance penalty.
* Please note the "compress" option may cause performance penalty.
* </p>
* <p>
* Setting this option only affects compression for subsequent <code>createSheet()</code>

+ 1
- 1
poi-ooxml/src/main/java/org/apache/poi/xssf/usermodel/XSSFCellStyle.java View File

@@ -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()

+ 1
- 1
poi-ooxml/src/test/java/org/apache/poi/ss/tests/formula/TestFormulaParser.java View File

@@ -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());

+ 1
- 1
poi/src/main/java/org/apache/poi/ddf/EscherSpRecord.java View File

@@ -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 {

+ 1
- 1
poi/src/main/java/org/apache/poi/ddf/UnknownEscherRecord.java View File

@@ -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<>();


+ 1
- 1
poi/src/main/java/org/apache/poi/hpsf/Section.java View File

@@ -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>
*

+ 1
- 1
poi/src/main/java/org/apache/poi/hssf/record/DVALRecord.java View File

@@ -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;

+ 1
- 1
poi/src/main/java/org/apache/poi/hssf/record/NoteStructureSubRecord.java View File

@@ -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];
}


+ 1
- 1
poi/src/main/java/org/apache/poi/hssf/record/aggregates/FormulaRecordAggregate.java View File

@@ -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

+ 1
- 1
poi/src/main/java/org/apache/poi/hssf/record/aggregates/SharedValueManager.java View File

@@ -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();

+ 1
- 1
poi/src/main/java/org/apache/poi/poifs/crypt/CryptoFunctions.java View File

@@ -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>

+ 1
- 1
poi/src/main/java/org/apache/poi/poifs/filesystem/BATManaged.java View File

@@ -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);

+ 1
- 1
poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSDocumentPath.java View File

@@ -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 &gt; 1) string thereafter must be the name of a directory in the directory
* identified by the (N-1)th string.<p>

+ 1
- 1
poi/src/main/java/org/apache/poi/poifs/macros/VBAMacroReader.java View File

@@ -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

+ 1
- 1
poi/src/main/java/org/apache/poi/poifs/property/PropertyTable.java View File

@@ -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);

+ 1
- 1
poi/src/main/java/org/apache/poi/sl/usermodel/PresetColor.java View File

@@ -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

+ 1
- 1
poi/src/main/java/org/apache/poi/ss/util/ImageUtils.java View File

@@ -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>.

+ 1
- 1
poi/src/main/java/org/apache/poi/ss/util/MutableFPNumber.java View File

@@ -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'

+ 1
- 1
poi/src/test/java/org/apache/poi/hssf/model/TestFormulaParser.java View File

@@ -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());

+ 1
- 1
poi/src/test/java/org/apache/poi/hssf/usermodel/TestHSSFDataFormatter.java View File

@@ -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));
}

+ 1
- 1
poi/src/test/java/org/apache/poi/ss/usermodel/BaseTestNamedRange.java View File

@@ -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>

Loading…
Cancel
Save