Skip to content

Provide an option / a variable to configure allowInlineReturn on JavadocMethod #445

Closed as not planned
@michael-simons

Description

@michael-simons

See https://checkstyle.sourceforge.io/checks/javadoc/javadocmethod.html#JavadocMethod

I would like to be able to use inline return comments with Spring Java Format:

public class Example8 {

  /**
   * {@return the foo}
   */
  public int getFoo() { return 0; }

  /**
   * Returns the bar
   * @return the bar
   */
  public int getBar() { return 0; }

}

I can overwrite that setting, as the the spring-check style.xml has precedence.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions