From e43d36f06d1c50f79347c30e07c939dd6592fd29 Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Thu, 29 Oct 2015 09:28:38 +0000 Subject: [PATCH] Javadoc fixes git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1711197 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/sl/draw/DrawTableShape.java | 7 +++---- .../java/org/apache/poi/xdgf/usermodel/XDGFShape.java | 2 +- .../java/org/apache/poi/xssf/usermodel/XSSFSheet.java | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/java/org/apache/poi/sl/draw/DrawTableShape.java b/src/java/org/apache/poi/sl/draw/DrawTableShape.java index ec44d17d6b..b44427838a 100644 --- a/src/java/org/apache/poi/sl/draw/DrawTableShape.java +++ b/src/java/org/apache/poi/sl/draw/DrawTableShape.java @@ -21,7 +21,6 @@ import java.awt.Color; import java.awt.Graphics2D; import org.apache.poi.sl.usermodel.GroupShape; -import org.apache.poi.sl.usermodel.StrokeStyle; import org.apache.poi.sl.usermodel.StrokeStyle.LineCompound; import org.apache.poi.sl.usermodel.StrokeStyle.LineDash; import org.apache.poi.sl.usermodel.TableCell; @@ -74,7 +73,7 @@ public class DrawTableShape extends DrawShape { * An empty args parameter removes the affected border. * * @param args a varargs array possible containing {@link Double} (width), - * {@link StrokeStyle.LineCompound}, {@link Color}, {@link StrokeStyle.LineDash} + * {@link LineCompound}, {@link Color}, {@link LineDash} */ public void setAllBorders(Object... args) { TableShape table = getShape(); @@ -96,7 +95,7 @@ public class DrawTableShape extends DrawShape { * An empty args parameter removes the affected border. * * @param args a varargs array possible containing {@link Double} (width), - * {@link StrokeStyle.LineCompound}, {@link Color}, {@link StrokeStyle.LineDash} + * {@link LineCompound}, {@link Color}, {@link LineDash} */ public void setOutsideBorders(Object... args){ if (args.length == 0) return; @@ -122,7 +121,7 @@ public class DrawTableShape extends DrawShape { * An empty args parameter removes the affected border. * * @param args a varargs array possible containing {@link Double} (width), - * {@link StrokeStyle.LineCompound}, {@link Color}, {@link StrokeStyle.LineDash} + * {@link LineCompound}, {@link Color}, {@link LineDash} */ public void setInsideBorders(Object... args) { if (args.length == 0) return; diff --git a/src/ooxml/java/org/apache/poi/xdgf/usermodel/XDGFShape.java b/src/ooxml/java/org/apache/poi/xdgf/usermodel/XDGFShape.java index 8af375f515..ba1a9908fd 100644 --- a/src/ooxml/java/org/apache/poi/xdgf/usermodel/XDGFShape.java +++ b/src/ooxml/java/org/apache/poi/xdgf/usermodel/XDGFShape.java @@ -820,7 +820,7 @@ public class XDGFShape extends XDGFSheet { * @return returns bounds as a path in local coordinates, which is * userful if you need to transform to global coordinates * - * @warning Don't use this for 1d objects, and will fail for + * Warning: Don't use this for 1d objects, and will fail for * infinite line objects */ public Path2D.Double getBoundsAsPath() { diff --git a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java index 832c987f1c..1406ee2bf1 100644 --- a/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java +++ b/src/ooxml/java/org/apache/poi/xssf/usermodel/XSSFSheet.java @@ -690,7 +690,7 @@ public class XSSFSheet extends POIXMLDocumentPart implements Sheet { /** * Get a list of Hyperlinks in this sheet * - * @return + * @return Hyperlinks for the sheet */ public List getHyperlinkList() { return Collections.unmodifiableList(hyperlinks); -- 2.39.5