Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[STORM-3931] @see tags that are followed by {@link...} #7713

Open
jira-importer opened this issue Jul 14, 2023 · 0 comments
Open

[STORM-3931] @see tags that are followed by {@link...} #7713

jira-importer opened this issue Jul 14, 2023 · 0 comments

Comments

@jira-importer
Copy link
Collaborator

@see tags have been deprected in JDK9 in favor of @link tags.

In Storm, several source files contain improperly formatted '@see' tags. This tag expects class name otherwise generates error for unexpected "{" - character code 123 and "@", character code 64. When generating javadoc.

[INFO] [WARNING] .../storm/storm-client/src/jvm/org/apache/storm/utils/DefaultShellLogHandler.java:51: warning - Tag @see:illegal character: "123" in "{@link ShellLogHandler#setUpContext}"
[INFO] [WARNING] .../storm/storm-client/src/jvm/org/apache/storm/utils/DefaultShellLogHandler.java:51: warning - Tag @see:illegal character: "64" in "{@link ShellLogHandler#setUpContext}"
[INFO] [WARNING] .../storm/storm-client/src/jvm/org/apache/storm/utils/DefaultShellLogHandler.java:51: warning - Tag @see: reference not found: "{@link ShellLogHandler#setUpContext}"

For example

storm-client/src/jvm/org/apache/storm/utils/DefaultShellLogHandler.java#setUpContext

/**
 * This default implementation saves the {@link ShellProcess} so it can output the process info string later.
 *
 * @param ownerCls - the class which instantiated this ShellLogHandler.
 * @param process  - the current {@link ShellProcess}.
 * @param context  - the current {@link TopologyContext}.
 * @see {@link ShellLogHandler#setUpContext}
 */
 

Should just be rolled into the documentation thusly:

/**
 * This default implementation saves the {@link ShellProcess} so it can output the process info string later. See {@link ShellLogHandler#setUpContext}.
 *
 * @param ownerCls - the class which instantiated this ShellLogHandler.
 * @param process  - the current {@link ShellProcess}.
 * @param context  - the current {@link TopologyContext}.
 */
 

or

/**
 * This default implementation saves the {@link ShellProcess} so it can output the process info string later.
 *
 * @param ownerCls - the class which instantiated this ShellLogHandler.
 * @param process  - the current {@link ShellProcess}.
 * @param context  - the current {@link TopologyContext}.
 * @see ShellLogHandler#setUpContext
 */
 

Originally reported by bipinprasad, imported from: @see tags that are followed by {@link...}
  • assignee: bipinprasad
  • status: Open
  • priority: Major
  • resolution: Unresolved
  • imported: 2025-01-24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant