SoyPrintDirective printDirective = entry.getValue();
if (printDirective instanceof SoyJavaPrintDirective) {
soyJavaPrintDirectives.put(entry.getKey(), (SoyJavaPrintDirective) printDirective);
}
}
<BUG>return soyTemplatesFactory.create(
templates.get(),
primitives.registry,
soyJavaFunctions.build(),
soyJavaPrintDirectives.build(),
primitives.transitiveIjs);</BUG>
}

SoyPrintDirective printDirective = entry.getValue();
if (printDirective instanceof SoyJavaPrintDirective) {
soyJavaPrintDirectives.put(entry.getKey(), (SoyJavaPrintDirective) printDirective);
}
}
return soyTemplatesFactory.create(
templates.get(), soyJavaFunctions.build(), soyJavaPrintDirectives.build());
}
