Skip to content

[FREEMARKER-116] Fix mismatch between example code and explanation in BeansWrapper documentation#128

Merged
ddekany merged 1 commit intoapache:2.3-gaefrom
mapeders:FREEMARKER-116-fix-beanswrapper-doc-mismatch
Apr 20, 2026
Merged

[FREEMARKER-116] Fix mismatch between example code and explanation in BeansWrapper documentation#128
ddekany merged 1 commit intoapache:2.3-gaefrom
mapeders:FREEMARKER-116-fix-beanswrapper-doc-mismatch

Conversation

@mapeders
Copy link
Copy Markdown
Contributor

@mapeders mapeders commented Apr 20, 2026

Summary

  • Fix a copy/paste leftover in the FreeMarker Manual's "Accessing static methods" section where the code example retrieves statics for java.io.File but the following paragraph referred to java.lang.System.
  • The subsequent examples in the same section (root.put("File", fileStatics), ${File.SEPARATOR}, File.listRoots()) confirm java.io.File is the intended class.

Resolves FREEMARKER-116.

Test plan

  • Docs-only change; verified the surrounding paragraphs and examples reference java.io.File consistently after the fix.

… BeansWrapper documentation

The example retrieves statics of java.io.File, but the following
paragraph incorrectly referred to java.lang.System. Subsequent
examples (File.SEPARATOR, File.listRoots()) confirm java.io.File
is the intended class.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ddekany ddekany merged commit a6ea90f into apache:2.3-gae Apr 20, 2026
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.

2 participants