]> source.dussan.org Git - poi.git/commitdiff
Fix Javadocs
authorAndreas Beeker <kiwiwings@apache.org>
Fri, 28 Dec 2018 23:42:44 +0000 (23:42 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Fri, 28 Dec 2018 23:42:44 +0000 (23:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1849896 13f79535-47bb-0310-9956-ffa450edef68

src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFObjectData.java

index 34595758259b7fc94caa9277aeaee938c5f95380..09125fe5850640e6e933aab7ed6ee62e4807c64d 100644 (file)
@@ -31,18 +31,19 @@ import org.apache.poi.util.Beta;
 /**
  * An XSLFOleData instance holds the ole binary stream/object  
  */
+@SuppressWarnings("unused")
 @Beta
 public final class XSLFObjectData extends POIXMLDocumentPart implements ObjectData {
 
     /**
-     * Create a new XSLFOleData node
+     * Create a new XSLFObjectData node
      */
-    protected XSLFObjectData() {
+    /* package */ XSLFObjectData() {
         super();
     }
 
     /**
-     * Construct XSLFOleData from a package part
+     * Construct XSLFObjectData from a package part
      *
      * @param part the package part holding the ole data
      * 
@@ -58,14 +59,14 @@ public final class XSLFObjectData extends POIXMLDocumentPart implements ObjectDa
     }
 
     @Override
-    public OutputStream getOutputStream() throws IOException {
+    public OutputStream getOutputStream() {
         final PackagePart pp = getPackagePart();
         pp.clear();
         return pp.getOutputStream();
     }
     
     /**
-     * *PictureData objects store the actual content in the part directly without keeping a
+     * XSLFObjectData objects store the actual content in the part directly without keeping a
      * copy like all others therefore we need to handle them differently.
      */
     @Override