From 3f361971c29119190befead49e73939ac8239a55 Mon Sep 17 00:00:00 2001 From: madsbredholt Date: Mon, 20 Apr 2026 12:55:23 +0200 Subject: [PATCH] [FREEMARKER-116] Fix mismatch between example code and explanation in 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) --- freemarker-manual/src/main/docgen/en_US/book.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freemarker-manual/src/main/docgen/en_US/book.xml b/freemarker-manual/src/main/docgen/en_US/book.xml index 3f35428e3..a04dd6650 100644 --- a/freemarker-manual/src/main/docgen/en_US/book.xml +++ b/freemarker-manual/src/main/docgen/en_US/book.xml @@ -11295,7 +11295,7 @@ TemplateHashModel fileStatics = And you will get a template hash model that exposes all static methods and static fields (both final and non-final) of the - java.lang.System class as hash keys. Suppose that + java.io.File class as hash keys. Suppose that you put the previous model in your root model: root.put("File", fileStatics);