From e1237a4f5b044a91ea0cddfa3888c73d1b46a506 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Sat, 26 Oct 2019 05:26:30 +0000 Subject: [PATCH] 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 --- .../org/apache/poi/sl/draw/ImageRenderer.java | 4 ++-- .../apache/poi/xssf/usermodel/XSSFDrawing.java | 18 +++++------------- 2 files changed, 7 insertions(+), 15 deletions(-) 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