提交 3729a49e 编写于 作者: M Mathieu Bastian

Secure DefaultProcessor if no DynamicImpl.

上级 37303adf
......@@ -86,7 +86,9 @@ public class DefaultProcessor extends AbstractProcessor implements Processor {
//Dynamic
if (container.getTimeFormat() != null) {
DynamicController dynamicController = Lookup.getDefault().lookup(DynamicController.class);
dynamicController.setTimeFormat(container.getTimeFormat());
if (dynamicController != null) {
dynamicController.setTimeFormat(container.getTimeFormat());
}
}
int nodeCount = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册