From 30072f2c86141a37bf4128adb2295e6e4c51aa04 Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Wed, 28 Jun 2017 23:30:15 +0000 Subject: [PATCH] Fix javadoc warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800214 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/ss/formula/ptg/AreaPtg.java | 2 +- src/java/org/apache/poi/ss/usermodel/ClientAnchor.java | 2 +- src/java/org/apache/poi/ss/util/AreaReference.java | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/java/org/apache/poi/ss/formula/ptg/AreaPtg.java b/src/java/org/apache/poi/ss/formula/ptg/AreaPtg.java index 81cac4e043..c6371a8ce3 100644 --- a/src/java/org/apache/poi/ss/formula/ptg/AreaPtg.java +++ b/src/java/org/apache/poi/ss/formula/ptg/AreaPtg.java @@ -38,7 +38,7 @@ public final class AreaPtg extends Area2DPtgBase { } /** - * @deprecated use {@link #AreaPtg(AreaReference)} instead + * @deprecated use {@link #AreaPtg(AreaReference)} instead */ @Deprecated() @Removal(version="3.19") diff --git a/src/java/org/apache/poi/ss/usermodel/ClientAnchor.java b/src/java/org/apache/poi/ss/usermodel/ClientAnchor.java index f482e6f510..77c09c17b0 100644 --- a/src/java/org/apache/poi/ss/usermodel/ClientAnchor.java +++ b/src/java/org/apache/poi/ss/usermodel/ClientAnchor.java @@ -108,7 +108,7 @@ public interface ClientAnchor { /** * Returns the column (0 based) of the first cell, or -1 if there is no top-left anchor cell. - * This is the case for absolute positioning (AnchorType{@link #DONT_MOVE_AND_RESIZE}). + * This is the case for absolute positioning {@link AnchorType#MOVE_AND_RESIZE} * * @return 0-based column of the first cell or -1 if none. */ diff --git a/src/java/org/apache/poi/ss/util/AreaReference.java b/src/java/org/apache/poi/ss/util/AreaReference.java index 30e3335369..837c4cf881 100644 --- a/src/java/org/apache/poi/ss/util/AreaReference.java +++ b/src/java/org/apache/poi/ss/util/AreaReference.java @@ -108,7 +108,7 @@ public class AreaReference { /** * Creates an area ref from a pair of Cell References. - * @deprecated use {@link #new AreaReference(CellReference, CellReference, SpreadsheetVersion)} instead + * @deprecated use {@link #AreaReference(CellReference, CellReference, SpreadsheetVersion)} instead */ @Deprecated @Removal(version="3.19") @@ -168,7 +168,7 @@ public class AreaReference { * unbroken) area, or is it made up of * several different parts? * (If it is, you will need to call - * {@link #generateContiguous(SpreadsheetVersion, String)}) + * {@link #generateContiguous(SpreadsheetVersion, String)}) */ public static boolean isContiguous(String reference) { // If there's a sheet name, strip it off @@ -220,7 +220,7 @@ public class AreaReference { /** * Takes a non-contiguous area reference, and returns an array of contiguous area references * @return an array of contiguous area references. - * @deprecated use {@link #generateContiguous(SpreadsheetVersion, String)} instead + * @deprecated use {@link #generateContiguous(SpreadsheetVersion, String)} instead */ @Deprecated @Removal(version="3.19")