From 0a42120b891dd38a438863393489106ebd2129d0 Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Mon, 3 Aug 2015 23:30:13 +0000 Subject: [PATCH] Javadoc fixes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1693983 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/poi/xslf/usermodel/XMLSlideShow.java | 8 +------- .../src/org/apache/poi/hslf/model/OLEShape.java | 2 +- .../org/apache/poi/hslf/usermodel/HSLFPictureShape.java | 4 ++-- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/ooxml/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java b/src/ooxml/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java index ecfa5cd62..453c1b1e2 100644 --- a/src/ooxml/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java +++ b/src/ooxml/java/org/apache/poi/xslf/usermodel/XMLSlideShow.java @@ -437,13 +437,7 @@ public class XMLSlideShow extends POIXMLDocument implements SlideShow { * @param pictureData The bytes of the picture * @param format The format of the picture. * - * @return the index to this picture (1 based). - * @see XSLFPictureData#PICTURE_TYPE_EMF - * @see XSLFPictureData#PICTURE_TYPE_WMF - * @see XSLFPictureData#PICTURE_TYPE_PICT - * @see XSLFPictureData#PICTURE_TYPE_JPEG - * @see XSLFPictureData#PICTURE_TYPE_PNG - * @see XSLFPictureData#PICTURE_TYPE_DIB + * @return the picture data */ public XSLFPictureData addPicture(byte[] pictureData, PictureType format) { XSLFPictureData img = findPictureData(pictureData); diff --git a/src/scratchpad/src/org/apache/poi/hslf/model/OLEShape.java b/src/scratchpad/src/org/apache/poi/hslf/model/OLEShape.java index 3e3436eb8..6f8792df2 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/model/OLEShape.java +++ b/src/scratchpad/src/org/apache/poi/hslf/model/OLEShape.java @@ -48,7 +48,7 @@ public final class OLEShape extends HSLFPictureShape { /** * Create a new OLEShape * - * @param idx the index of the picture + * @param data the picture data * @param parent the parent shape */ public OLEShape(HSLFPictureData data, ShapeContainer parent) { diff --git a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFPictureShape.java b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFPictureShape.java index 807af0d5f..10e9555c8 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFPictureShape.java +++ b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFPictureShape.java @@ -54,7 +54,7 @@ public class HSLFPictureShape extends HSLFSimpleShape implements PictureShape { /** * Create a new Picture * - * @param idx the index of the picture + * @param data the picture data */ public HSLFPictureShape(HSLFPictureData data){ this(data, null); @@ -63,7 +63,7 @@ public class HSLFPictureShape extends HSLFSimpleShape implements PictureShape { /** * Create a new Picture * - * @param idx the index of the picture + * @param data the picture data * @param parent the parent shape */ public HSLFPictureShape(HSLFPictureData data, ShapeContainer parent) {