Skip to content

Commit

Permalink
Issue #14625: fixed inspections violations MismatchedJavadocCode
Browse files Browse the repository at this point in the history
  • Loading branch information
MANISH-K-07 authored and nrmancuso committed Apr 28, 2024
1 parent 48de202 commit 5b05fff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
Expand Up @@ -445,12 +445,10 @@ private Properties createOverridingProperties() {
}

/**
* Return the list of listeners set in this task.
* Return the array of listeners set in this task.
*
* @return the list of listeners.
* @return the array of listeners.
* @throws BuildException if the listeners could not be created.
* @noinspection MismatchedJavadocCode
* @noinspectionreason MismatchedJavadocCode - until issue #14625
*/
private AuditListener[] getListeners() {
final int formatterCount = Math.max(1, formatters.size());
Expand Down
Expand Up @@ -634,9 +634,7 @@ public void addMethodCall(DetailAST methodCall) {
* Determines whether this FieldFrame contains the field.
*
* @param name name of the field to check.
* @return true if this FieldFrame contains instance field.
* @noinspection MismatchedJavadocCode
* @noinspectionreason MismatchedJavadocCode - until issue #14625
* @return DetailAST if this FieldFrame contains instance field.
*/
public DetailAST findField(String name) {
return fieldNameToAst.get(name);
Expand Down
Expand Up @@ -521,9 +521,7 @@ private void modifyVariablesStack(TypeDeclDesc obtainedClass,
* Checks if there is a type declaration with same name as the super class.
*
* @param superClassName name of the super class
* @return true if there is another type declaration with same name.
* @noinspection MismatchedJavadocCode
* @noinspectionreason MismatchedJavadocCode - until issue #14625
* @return list if there is another type declaration with same name.
*/
private List<TypeDeclDesc> typeDeclWithSameName(String superClassName) {
return typeDeclAstToTypeDeclDesc.values().stream()
Expand Down

0 comments on commit 5b05fff

Please sign in to comment.