if (logger.isDebugEnabled()) {
<BUG>logger.debug(String.format("Potentially delegating to %s to process context configuration [%s].",
</BUG>
loader.getClass().getName(), configAttributes));
}
<BUG>if (originallyHadResources) {</BUG>
loader.processContextConfiguration(configAttributes);
<BUG>}
else if (loader.generatesDefaults()) {
loader.processContextConfiguration(configAttributes);
if (configAttributes.hasResources() && logger.isInfoEnabled()) {
logger.info(String.format("SmartContextLoader candidate %s "</BUG>
+ "generated defaults for context configuration [%s].", loader, configAttributes));

if (logger.isDebugEnabled()) {
logger.debug(String.format("Delegating to %s to process context configuration [%s].",
loader.getClass().getName(), configAttributes));
