*/
).
*
- * @param comment the raw comment
* @return List of lines of the comments
*/
private ListThis class does not provide methods to operate directly on its nested classes, but only on itself. To operate on a - * nested class, retrieve the correct ClassStats with {@link PackageStats#getClassStats(JavaQualifiedName, boolean)} + * nested class, retrieve the correct ClassStats with {@link PackageStats#getClassStats(JavaTypeQualifiedName, boolean)} * then use the methods of ClassStats. Note that at this level, entities of the data structure do not manipulate * QualifiedNames anymore, only Strings. * diff --git a/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SimplifyBooleanReturnsRule.java b/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SimplifyBooleanReturnsRule.java index f73c4f96a8..74f7591cd0 100644 --- a/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SimplifyBooleanReturnsRule.java +++ b/pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/SimplifyBooleanReturnsRule.java @@ -157,7 +157,7 @@ public class SimplifyBooleanReturnsRule extends AbstractJavaRule { * Checks, whether there is a statement after the given if statement, and if * so, whether this is just a return boolean statement. * - * @param node + * @param ifNode * the if statement * @return */ @@ -176,7 +176,7 @@ public class SimplifyBooleanReturnsRule extends AbstractJavaRule { * Checks whether the given ifstatement just returns a boolean in the if * clause. * - * @param node + * @param ifNode * the if statement * @return */