CPD Results
The following document contains the results of PMD's CPD 3.7.
Duplications
File | Line |
---|
org/apache/geronimo/jetty/JettyManagerImpl.java | 234 |
org/apache/geronimo/jetty/JettyManagerImpl.java | 263 |
AbstractName containerName = kernel.getAbstractNameFor(container);
ProxyManager mgr = kernel.getProxyManager();
try {
List results = new ArrayList();
AbstractNameQuery query = new AbstractNameQuery(JettyWebConnector.class.getName());
Set set = kernel.listGBeans(query); // all Jetty connectors
for (Iterator it = set.iterator(); it.hasNext();) {
AbstractName name = (AbstractName) it.next(); // a single Jetty connector
GBeanData data = kernel.getGBeanData(name);
ReferencePatterns refs = data.getReferencePatterns(JettyConnector.CONNECTOR_CONTAINER_REFERENCE);
if (containerName.equals(refs.getAbstractName())) { |