diff --git a/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java b/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java index d5f548786..e5371b980 100644 --- a/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java +++ b/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFDocument.java @@ -521,7 +521,7 @@ public class XWPFDocument extends POIXMLDocument implements Document, IBody { * the position of this table in the table array list * @param pos position of the table in the bodyelement array list * @return if there is a table at the position in the bodyelement array list, - * else it will return null. + * else it will return null. */ public int getTablePos(int pos) { return getBodyElementSpecificPos(pos, tables); @@ -1062,9 +1062,9 @@ public class XWPFDocument extends POIXMLDocument implements Document, IBody { * * NOTICES: * */ public void enforceUpdateFields() { @@ -1298,7 +1298,7 @@ public class XWPFDocument extends POIXMLDocument implements Document, IBody { * @see org.apache.poi.xwpf.usermodel.IBody#getParagraphArray(int) */ public XWPFParagraph getParagraphArray(int pos) { - if(pos >= 0 && pos < paragraphs.size()){ + if (pos >= 0 && pos < paragraphs.size()) { return paragraphs.get(pos); } return null; @@ -1317,7 +1317,7 @@ public class XWPFDocument extends POIXMLDocument implements Document, IBody { /** * get the PartType of the body, for example - * DOCUMENT, HEADER, FOOTER, FOOTNOTE, + * DOCUMENT, HEADER, FOOTER, FOOTNOTE, * * @see org.apache.poi.xwpf.usermodel.IBody#getPartType() */