mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
fix code
This commit is contained in:
@@ -32,7 +32,7 @@ public class ThymeleafTest {
|
||||
public void addDialectTest(){
|
||||
final TemplateEngine engine = TemplateEngineFactory.createEngine();
|
||||
if(engine instanceof ThymeleafEngine){
|
||||
final org.thymeleaf.TemplateEngine rawEngine = ((ThymeleafEngine) engine).getRawEngine();
|
||||
final org.thymeleaf.TemplateEngine rawEngine = ((ThymeleafEngine) engine).getRaw();
|
||||
rawEngine.addDialect(new StandardDialect());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user