From: Nick Burch Date: Thu, 23 Dec 2010 09:18:04 +0000 (+0000) Subject: Fix warnings, typos etc X-Git-Tag: REL_3_8_BETA1~76 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f38bbd4de4ba01ce2ad4d4723caca4d1c76d9ae9;p=poi.git Fix warnings, typos etc git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1052201 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/poifs/property/PropertyTable.java b/src/java/org/apache/poi/poifs/property/PropertyTable.java index 996d54f2fa..45a9734158 100644 --- a/src/java/org/apache/poi/poifs/property/PropertyTable.java +++ b/src/java/org/apache/poi/poifs/property/PropertyTable.java @@ -21,14 +21,15 @@ import java.io.IOException; import java.io.OutputStream; import org.apache.poi.poifs.common.POIFSBigBlockSize; +import org.apache.poi.poifs.filesystem.POIFSFileSystem; import org.apache.poi.poifs.storage.BlockWritable; import org.apache.poi.poifs.storage.HeaderBlock; import org.apache.poi.poifs.storage.PropertyBlock; import org.apache.poi.poifs.storage.RawDataBlockList; /** - * This class embodies the Property Table for the filesystem; this is - * basically the directory for all of the documents in the + * This class embodies the Property Table for the {@link POIFSFileSystem}; + * this is basically the directory for all of the documents in the * filesystem. * * @author Marc Johnson (mjohnson at apache dot org) @@ -49,7 +50,7 @@ public final class PropertyTable extends PropertyTableBase implements BlockWrita * to extract the property table from it). Populates the * properties thoroughly * - * @param startBlock the first block of the property table + * @param headerBlock the header block of the file * @param blockList the list of blocks * * @exception IOException if anything goes wrong (which should be diff --git a/src/java/org/apache/poi/poifs/storage/PropertyBlock.java b/src/java/org/apache/poi/poifs/storage/PropertyBlock.java index 06cb71c114..c824166bf5 100644 --- a/src/java/org/apache/poi/poifs/storage/PropertyBlock.java +++ b/src/java/org/apache/poi/poifs/storage/PropertyBlock.java @@ -22,7 +22,6 @@ import java.io.OutputStream; import java.util.List; import org.apache.poi.poifs.common.POIFSBigBlockSize; -import org.apache.poi.poifs.common.POIFSConstants; import org.apache.poi.poifs.property.Property; /** @@ -63,7 +62,7 @@ public final class PropertyBlock extends BigBlock { */ public static BlockWritable [] createPropertyBlockArray( - final POIFSBigBlockSize bigBlockSize, final List properties) + final POIFSBigBlockSize bigBlockSize, final List properties) { int _properties_per_block = bigBlockSize.getPropertiesPerBlock(); int block_count =