CPD Results

The following document contains the results of PMD's CPD 4.2.2.

Duplications

File Line
org/springframework/osgi/service/importer/support/internal/aop/ServiceDynamicInterceptor.java 253
org/springframework/osgi/service/importer/support/internal/collection/OsgiServiceCollection.java 150
			}
			finally {
				Thread.currentThread().setContextClassLoader(tccl);
			}
		}

		private void notifySatisfiedStateListeners() {
			synchronized (stateListeners) {
				for (Iterator iterator = stateListeners.iterator(); iterator.hasNext();) {
					ImporterStateListener stateListener = (ImporterStateListener) iterator.next();
					stateListener.importerSatisfied(eventSource, dependency);
				}
			}
		}

		private void notifyUnsatisfiedStateListeners() {
			synchronized (stateListeners) {
				for (Iterator iterator = stateListeners.iterator(); iterator.hasNext();) {
					ImporterStateListener stateListener = (ImporterStateListener) iterator.next();
					stateListener.importerUnsatisfied(eventSource, dependency);
				}
			}
		}