Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Contributor

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 ... so The search path for custom taglets

Copy link
Contributor

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 ... so The search path for custom taglets

Improved suggestion: The search path for locating ...

Copy link
Member Author

@pavelrappo pavelrappo Dec 8, 2021

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.


doclet.usage.snippet-path.parameters=\
<path>

doclet.usage.snippet-path.description=\
The path for external snippets
The path to external snippets
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest: The search path for external snippets


doclet.usage.charset.parameters=\
<charset>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,13 +293,13 @@ public enum ModularityMismatchPolicy {

/**
* Argument for command-line option {@code -tagletpath}.
* The path to Taglets
* The path to custom taglets.
Copy link
Contributor

Choose a reason for hiding this comment

The 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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See similar comments

*/
private String snippetPath = null;

Expand Down Expand Up @@ -1007,15 +1007,15 @@ public boolean summarizeOverriddenMethods() {

/**
* Argument for command-line option {@code -tagletpath}.
* The path to Taglets
* The path to custom taglets.
Copy link
Contributor

Choose a reason for hiding this comment

The 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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See similar comments

*/
public String snippetPath() {
return snippetPath;
Expand Down