From: PJ Fanning Date: Sat, 20 Jul 2019 12:11:07 +0000 (+0000) Subject: missing @since annotations X-Git-Tag: REL_4_1_1~56 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cf1eb05304734c8d20b21dd4d138edd6df6533e4;p=poi.git missing @since annotations git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1863476 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java b/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java index 4aec6eba84..a0a9f2102c 100644 --- a/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java +++ b/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFParagraph.java @@ -1444,6 +1444,7 @@ public class XWPFParagraph implements IBodyElement, IRunBody, ISDTContents, Para * Appends a new hyperlink run to this paragraph * * @return a new hyperlink run + * @since POI 4.1.1 */ public XWPFHyperlinkRun createHyperlinkRun(String uri) { // Create a relationship ID for this link. diff --git a/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFPicture.java b/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFPicture.java index a64eabecba..f46d2cd158 100644 --- a/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFPicture.java +++ b/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFPicture.java @@ -80,7 +80,9 @@ public class XWPFPicture { } /** - * Returns the width of the picture (in points). + * Returns the width of the picture (in points). + * + * @since POI 4.1.1 */ public double getWidth() { return Units.toPoints(ctPic.getSpPr().getXfrm().getExt().getCx()); @@ -88,6 +90,8 @@ public class XWPFPicture { /** * Returns the depth of the picture (in points). + * + * @since POI 4.1.1 */ public double getDepth() { return Units.toPoints(ctPic.getSpPr().getXfrm().getExt().getCy()); diff --git a/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java b/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java index bfeb12d725..cfe92cbcbc 100644 --- a/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java +++ b/src/ooxml/java/org/apache/poi/xwpf/usermodel/XWPFRun.java @@ -1203,6 +1203,7 @@ public class XWPFRun implements ISDTContents, IRunElement, CharacterRun { * Set the style ID for the run. * * @param styleId ID (not name) of the style to set for the run, e.g. "BoldItalic" (not "Bold Italic"). + * @since POI 4.1.1 */ public void setStyle(String styleId) { CTRPr pr = getCTR().getRPr();