From ec52e77351cb30b68594f9eab05bffcb8460ca2c Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sat, 14 Mar 2015 19:33:09 +0000 Subject: [PATCH] Remove Javadoc/Eclipse warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666737 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/apache/poi/hdf/extractor/WordDocument.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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(""); -- 2.39.5