Details
-
Task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
@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 */