andyg
02/17/2021, 3:09 AMConfiguration(Configuration.getVersion())
instead of a specific version: Configuration(Configuration.VERSION_2_3_30)
)... but I am striking out when trying to provide a custom Configuration. Also useful for providing custom string formats, equality checks, etc.dave
02/17/2021, 5:39 AMandyg
02/17/2021, 6:06 PMConfiguration.getVersion()
within HotReload
and the other functions. I also tried to just override HotReload
completely but it relies on FreemarkerTemplateResolver
which is private and therefore non-accessible in a new class.dave
02/17/2021, 6:12 PMandyg
02/17/2021, 6:20 PMConfiguration.getVersion()
, this is the code that freemarker wants users to avoid: "_Never use a dynamic value like Configuration.getVersion()
though, as that way upgrading FreeMarker can break your application!_" (https://freemarker.apache.org/docs/pgui_config_incompatible_improvements.html)dave
02/17/2021, 6:23 PMFreemarkerTemplates({
Configuration(Configuration.getVersion())
})
andyg
02/17/2021, 6:50 PM