From: Dominik Stadler Date: Sat, 26 Oct 2019 05:26:30 +0000 (+0000) Subject: Fix some IDE warnings and update some JavaDoc X-Git-Tag: REL_4_1_2~167 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e1237a4f5b044a91ea0cddfa3888c73d1b46a506;p=poi.git Fix some IDE warnings and update some JavaDoc git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868977 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/sl/draw/ImageRenderer.java b/src/java/org/apache/poi/sl/draw/ImageRenderer.java index c657bbadfd..8286d9a223 100644 --- a/src/java/org/apache/poi/sl/draw/ImageRenderer.java +++ b/src/java/org/apache/poi/sl/draw/ImageRenderer.java @@ -111,13 +111,13 @@ public interface ImageRenderer { void setAlpha(double alpha); /** - * @return the image as buffered image + * @return the image as buffered image or null if image could not be loaded */ BufferedImage getImage(); /** * @param dim the dimension in pixels of the returned image - * @return the image as buffered image + * @return the image as buffered image or null if image could not be loaded * * @since POI 3.15-beta2 */ diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDrawing.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDrawing.java index 1ae1e99217..1949e7e66f 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDrawing.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFDrawing.java @@ -113,11 +113,8 @@ public final class XSSFDrawing extends POIXMLDocumentPart implements Drawing