The following document contains the results of PMD's CPD 4.2.2.
| File | Line |
|---|---|
| org/apache/tiles/context/ChainedTilesApplicationContextFactory.java | 111 |
| org/apache/tiles/context/ChainedTilesContextFactory.java | 106 |
.setRequestContextFactory(this);
}
factories.add(factory);
} catch (ClassNotFoundException e) {
// We log it, because it could be a default configuration class that
// is simply not present.
log.warn("Cannot find TilesContextFactory class "
+ classNames[i]);
if (log.isDebugEnabled()) {
log.debug("Cannot find TilesContextFactory class "
+ classNames[i], e);
}
} catch (InstantiationException e) {
throw new IllegalArgumentException(
"Cannot instantiate TilesFactoryClass " + classNames[i],
e);
} catch (IllegalAccessException e) {
throw new IllegalArgumentException(
"Cannot access TilesFactoryClass " + classNames[i]
+ " default constructor", e);
}
}
}
/** {@inheritDoc} */
public TilesApplicationContext createApplicationContext(Object context) {
TilesApplicationContext retValue = null;
for (Iterator<TilesContextFactory> factoryIt = factories.iterator(); factoryIt
| |