From: Dominik Stadler Date: Sat, 14 Mar 2015 19:33:09 +0000 (+0000) Subject: Remove Javadoc/Eclipse warnings X-Git-Tag: REL_3_12_FINAL~70 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ec52e77351cb30b68594f9eab05bffcb8460ca2c;p=poi.git Remove Javadoc/Eclipse warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666737 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/src/org/apache/poi/hdf/extractor/WordDocument.java b/src/scratchpad/src/org/apache/poi/hdf/extractor/WordDocument.java index e8bc31643a..929de311b7 100644 --- a/src/scratchpad/src/org/apache/poi/hdf/extractor/WordDocument.java +++ b/src/scratchpad/src/org/apache/poi/hdf/extractor/WordDocument.java @@ -114,6 +114,8 @@ public final class WordDocument { /** * right now this function takes one parameter: a Word file, and outputs an * XSL-FO document at c:\test.xml (this is hardcoded) + * + * @param args The document to read */ public static void main(String args[]) { @@ -758,7 +760,7 @@ public final class WordDocument { size = lineHeights.size(); for(int x = 0; x < size; x++) { - Integer height = (Integer)lineHeights.get(x); + Integer height = lineHeights.get(x); sum += height.intValue(); } @@ -1765,7 +1767,7 @@ public final class WordDocument { for(int x = 0; x < size; x++) { StringBuffer rowBuffer = tableBodyBuffer; - TableRow row = (TableRow)_table.get(x); + TableRow row = _table.get(x); TAP tap = row.getTAP(); ArrayList cells = row.getCells(); @@ -1797,7 +1799,7 @@ public final class WordDocument { addBorder(rowBuffer, tc._brcBottom, "bottom"); addBorder(rowBuffer, tc._brcRight, "right"); rowBuffer.append(">"); - rowBuffer.append((String)cells.get(y)); + rowBuffer.append(cells.get(y)); rowBuffer.append(""); } rowBuffer.append("");