Remove Javadoc/Eclipse warnings

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666737 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Dominik Stadler 2015-03-14 19:33:09 +00:00
parent 30d20582af
commit 666aa6f42a

View File

@ -114,6 +114,8 @@ public final class WordDocument {
/** /**
* right now this function takes one parameter: a Word file, and outputs an * right now this function takes one parameter: a Word file, and outputs an
* XSL-FO document at c:\test.xml (this is hardcoded) * XSL-FO document at c:\test.xml (this is hardcoded)
*
* @param args The document to read
*/ */
public static void main(String args[]) public static void main(String args[])
{ {
@ -758,7 +760,7 @@ public final class WordDocument {
size = lineHeights.size(); size = lineHeights.size();
for(int x = 0; x < size; x++) for(int x = 0; x < size; x++)
{ {
Integer height = (Integer)lineHeights.get(x); Integer height = lineHeights.get(x);
sum += height.intValue(); sum += height.intValue();
} }
@ -1765,7 +1767,7 @@ public final class WordDocument {
for(int x = 0; x < size; x++) for(int x = 0; x < size; x++)
{ {
StringBuffer rowBuffer = tableBodyBuffer; StringBuffer rowBuffer = tableBodyBuffer;
TableRow row = (TableRow)_table.get(x); TableRow row = _table.get(x);
TAP tap = row.getTAP(); TAP tap = row.getTAP();
ArrayList<String> cells = row.getCells(); ArrayList<String> cells = row.getCells();
@ -1797,7 +1799,7 @@ public final class WordDocument {
addBorder(rowBuffer, tc._brcBottom, "bottom"); addBorder(rowBuffer, tc._brcBottom, "bottom");
addBorder(rowBuffer, tc._brcRight, "right"); addBorder(rowBuffer, tc._brcRight, "right");
rowBuffer.append(">"); rowBuffer.append(">");
rowBuffer.append((String)cells.get(y)); rowBuffer.append(cells.get(y));
rowBuffer.append("</fo:table-cell>"); rowBuffer.append("</fo:table-cell>");
} }
rowBuffer.append("</fo:table-row>"); rowBuffer.append("</fo:table-row>");