NIHVIVO-3542 BaseTemplateModel doesn't need to hold ServletContext, and the way it's set in a static field is dodgy. Remove it.
This commit is contained in:
parent
490e0a18df
commit
e0594b2681
4 changed files with 6 additions and 15 deletions
|
@ -135,8 +135,6 @@ public class ObjectPropertyTemplateModel_PropertyListConfigTest extends
|
|||
|
||||
subject = new IndividualImpl();
|
||||
|
||||
BaseTemplateModel.setServletContext(ctx);
|
||||
|
||||
Configuration fmConfig = new Configuration();
|
||||
vreq.setAttribute("freemarkerConfig", fmConfig);
|
||||
tl = new TemplateLoaderStub();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue