Commit ad08d973 authored by Vincent Massol's avatar Vincent Massol
Browse files

[Misc] Remove deprecated call

parent 37a23018
......@@ -292,7 +292,8 @@ public void transform(Block rootBlock, TransformationContext context) throws Tra
((MutableRenderingContext) this.renderingContext).setCurrentBlock(macroBlock);
// Populate and validate macro parameters.
Object macroParameters = macro.getDescriptor().getParametersBeanClass().newInstance();
Object macroParameters =
try {
this.beanManager.populate(macroParameters, macroBlock.getParameters());
} catch (Throwable e) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment