pjfanning commented on code in PR #536:
URL: https://github.com/apache/poi/pull/536#discussion_r1359401238


##########
poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFRun.java:
##########
@@ -849,7 +929,22 @@ public int getFontSize() {
     }
 
     /**
-     * Specifies the font size which shall be applied to all non complex script
+     * Specifies the font size which shall be applied to the complex script
+     * characters in the contents of this run when displayed.
+     *
+     * @return value representing the font size (non-integer size will be 
rounded with half rounding up,
+     * -1 is returned if size not set)
+     * @deprecated use {@link #getComplexScriptFontSizeAsDouble()}
+     */
+    @Deprecated
+    @Removal(version = "6.0.0")

Review Comment:
   for the new code only, could we could just `public double 
getComplexScriptFontSize()`? No `getComplexScriptFontSizeAsDouble` needed - 
let's not add new methods that have deprecated or removal annotations on them.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to