-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8273001: Improve the doclet.usage.tagletpath option description #6745
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -547,16 +547,19 @@ doclet.usage.tag.description=\ | |
| Specify single argument custom tags | ||
|
|
||
| doclet.usage.taglet.description=\ | ||
| The fully qualified name of Taglet to register | ||
| The fully qualified name of the taglet to register | ||
|
|
||
| doclet.usage.tagletpath.parameters=\ | ||
| <path> | ||
|
|
||
| doclet.usage.tagletpath.description=\ | ||
| The path to Taglets | ||
| The path to custom taglets | ||
|
|
||
| doclet.usage.snippet-path.parameters=\ | ||
| <path> | ||
|
|
||
| doclet.usage.snippet-path.description=\ | ||
| The path for external snippets | ||
| The path to external snippets | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Suggest: |
||
|
|
||
| doclet.usage.charset.parameters=\ | ||
| <charset> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -293,13 +293,13 @@ public enum ModularityMismatchPolicy { | |
|
|
||
| /** | ||
| * Argument for command-line option {@code -tagletpath}. | ||
| * The path to Taglets | ||
| * The path to custom taglets. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Less important (since it's an internal comment) but see suggestion for help string. |
||
| */ | ||
| private String tagletPath = null; | ||
|
|
||
| /** | ||
| * Argument for command-line option {@code --snippet-path}. | ||
| * The path for external snippets. | ||
| * The path to external snippets. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See similar comments |
||
| */ | ||
| private String snippetPath = null; | ||
|
|
||
|
|
@@ -1007,15 +1007,15 @@ public boolean summarizeOverriddenMethods() { | |
|
|
||
| /** | ||
| * Argument for command-line option {@code -tagletpath}. | ||
| * The path to Taglets | ||
| * The path to custom taglets. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See similar comments |
||
| */ | ||
| public String tagletPath() { | ||
| return tagletPath; | ||
| } | ||
|
|
||
| /** | ||
| * Argument for command-line option {@code --snippet-path}. | ||
| * The path for external snippets. | ||
| * The path to external snippets. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See similar comments |
||
| */ | ||
| public String snippetPath() { | ||
| return snippetPath; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest the general form:
The search path for ...soThe search path for custom tagletsThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Improved suggestion:
The search path for locating ...Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm... I think that we should be consistent and rely on the JDK tools vocabulary more. I mean, if it's search path, why would we also use locating? Looking at help output for javac and jshell, they don't seem to use search path. Their man pages do, but their help output does not.