diff --git a/src/java/org/apache/poi/hssf/record/CFRuleBase.java b/src/java/org/apache/poi/hssf/record/CFRuleBase.java index 449594414..28c21c8d9 100644 --- a/src/java/org/apache/poi/hssf/record/CFRuleBase.java +++ b/src/java/org/apache/poi/hssf/record/CFRuleBase.java @@ -410,7 +410,7 @@ public abstract class CFRuleBase extends StandardRecord { } /** - * @param ptgs must not be null + * @param formula must not be null * @return encoded size of the formula tokens (does not include 2 bytes for ushort length) */ protected static int getFormulaSize(Formula formula) { diff --git a/src/java/org/apache/poi/ss/usermodel/SheetConditionalFormatting.java b/src/java/org/apache/poi/ss/usermodel/SheetConditionalFormatting.java index 7f54f3015..92e64124a 100644 --- a/src/java/org/apache/poi/ss/usermodel/SheetConditionalFormatting.java +++ b/src/java/org/apache/poi/ss/usermodel/SheetConditionalFormatting.java @@ -83,7 +83,7 @@ public interface SheetConditionalFormatting { *

* The created conditional formatting rule compares a cell value * to a formula calculated result, using the specified operator. - * The type of the created condition is {@link ConditionalFormattingRule#CONDITION_CELL_VALUE_IS} + * The type of the created condition is {@link ConditionType#CELL_VALUE_IS} *

* * @param comparisonOperation - MUST be a constant value from @@ -112,7 +112,7 @@ public interface SheetConditionalFormatting { * Create a conditional formatting rule that compares a cell value * to a formula calculated result, using an operator * *

- * The type of the created condition is {@link ConditionalFormattingRule#CONDITION_CELL_VALUE_IS} + * The type of the created condition is {@link ConditionType#CELL_VALUE_IS} *

* * @param comparisonOperation MUST be a constant value from @@ -129,7 +129,7 @@ public interface SheetConditionalFormatting { * When the formula result is true, the cell is highlighted. * *

- * The type of the created format condition is {@link ConditionalFormattingRule#CONDITION_FORMULA} + * The type of the created format condition is {@link ConditionType#FORMULA} *

* @param formula the formula to evaluate. MUST be a Boolean function. */