From 875e921f86d07579c6d4ba04a90cd282950f0950 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Sun, 3 Oct 2021 10:57:02 +0000 Subject: [PATCH] lgtm javadoc issues git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1893850 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java | 4 +--- .../org/apache/poi/hwpf/sprm/TableSprmUncompressor.java | 4 +--- .../java/org/apache/poi/ss/formula/CellCacheEntry.java | 1 - .../java/org/apache/poi/ss/formula/functions/TimeFunc.java | 7 +++---- 4 files changed, 5 insertions(+), 11 deletions(-) diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java b/poi-scratchpad/src/main/java/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java index 68375bb443..eee1943227 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hwpf/sprm/SectionSprmUncompressor.java @@ -57,9 +57,7 @@ public final class SectionSprmUncompressor extends SprmUncompressor { * a single sprm. * * @param newSEP The SectionProperty to perform the operation on. - * @param operand The operation to perform. - * @param param The operation's parameter. - * @param varParam The operation variable length parameter. + * @param sprm The operation to perform. */ static void unCompressSEPOperation (SectionProperties newSEP, SprmOperation sprm) { diff --git a/poi-scratchpad/src/main/java/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java b/poi-scratchpad/src/main/java/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java index 9feb5057a3..2577bb0515 100644 --- a/poi-scratchpad/src/main/java/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java +++ b/poi-scratchpad/src/main/java/org/apache/poi/hwpf/sprm/TableSprmUncompressor.java @@ -80,9 +80,7 @@ public final class TableSprmUncompressor extends SprmUncompressor { * by a sprm stored in a tapx. * * @param newTAP The TableProperties object to perform the operation on. - * @param operand The operand that defines this operation. - * @param param The parameter for this operation. - * @param varParam Variable length parameter for this operation. + * @param sprm The operation to perform. */ static void unCompressTAPOperation (TableProperties newTAP, SprmOperation sprm) { diff --git a/poi/src/main/java/org/apache/poi/ss/formula/CellCacheEntry.java b/poi/src/main/java/org/apache/poi/ss/formula/CellCacheEntry.java index 79cc5301b6..e87b83bb95 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/CellCacheEntry.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/CellCacheEntry.java @@ -107,7 +107,6 @@ abstract class CellCacheEntry implements ICacheEntry { * Calls formulaCell.setFormulaResult(null, null) recursively all the way up the tree of * dependencies. Calls usedCell.clearConsumingCell(fc) for each child of a cell that is * cleared along the way. - * @param formulaCells */ protected final void recurseClearCachedFormulaResults() { FormulaCellCacheEntry[] formulaCells = getConsumingCells(); diff --git a/poi/src/main/java/org/apache/poi/ss/formula/functions/TimeFunc.java b/poi/src/main/java/org/apache/poi/ss/formula/functions/TimeFunc.java index 3114970114..74dd59f4dc 100644 --- a/poi/src/main/java/org/apache/poi/ss/formula/functions/TimeFunc.java +++ b/poi/src/main/java/org/apache/poi/ss/formula/functions/TimeFunc.java @@ -58,10 +58,9 @@ public final class TimeFunc extends Fixed3ArgFunction { /** * Converts the supplied hours, minutes and seconds to an Excel time value. * - * - * @param ds array of 3 doubles containing hours, minutes and seconds. - * Non-integer inputs are truncated to an integer before further calculation - * of the time value. + * @param hours + * @param minutes + * @param seconds as an integer * @return An Excel representation of a time of day. * If the time value represents more than a day, the days are removed from * the result, leaving only the time of day component. -- 2.39.5