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:
j2blake 2012-03-24 15:11:23 +00:00
parent 490e0a18df
commit e0594b2681
4 changed files with 6 additions and 15 deletions

View file

@ -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();