Skip to content

docs: fix locale examples, typos, and Java 17 links in functions.xml - #6915

Open
QAInsights wants to merge 1 commit into
apache:masterfrom
QAInsights:docs/audit-functions-reference
Open

QAInsights wants to merge 1 commit into
apache:masterfrom
QAInsights:docs/audit-functions-reference

Conversation

@QAInsights

Copy link
Copy Markdown
Contributor

Description

Cleans up locale examples, typos, and Java 8 links in xdocs/usermanual/functions.xml:

  • Replaced invalid en_EN example locales in __RandomDate and __timeShift with en_US.
  • Fixed grammar in __time (The format to be passed to used to be to The format used to be passed to) and a typo in __timeShift (If ommitted to If omitted).
  • Upgraded Java 8 Javadoc and specification links (java.util.Properties, java.time.format.DateTimeFormatter, java.text.SimpleDateFormat, java.time.Duration#parse, and Security StandardNames) to Java 17 (keeping the Nashorn User's Guide on Java 8 since Nashorn was removed in Java 15).

Motivation and Context

en_EN is not a valid ISO 3166 country code locale, and several function descriptions still linked to Java 8 Javadocs despite JMeter 6.0 targeting Java 17.

How Has This Been Tested?

  • Cross-checked all function KEY constants in src/functions/ against xdocs/usermanual/functions.xml.
  • Ran ./gradlew --quiet :src:dist:previewSite -x :src:dist:javadocAggregate autostyleCheck rat on Windows (all passed with exit code 0).
  • Verified the rendered src/dist/build/site/usermanual/functions.html output and links.

Screenshots (if appropriate):

N/A (documentation-only changes)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant