Bug 22446 Importing folder into itself causes "infinite" recursion [ccp]
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/FileTransferDropAdapter.java
}
			
		return;	
	}
	public void drop(Object dropTarget, DropTargetEvent event) {
		int operation= event.detail;
		
		event.detail= DND.DROP_NONE;
		Object data= event.data;
		if (data == null || operation != DND.DROP_COPY)
			return;
			
		IContainer target= null;
		if (dropTarget instanceof IContainer) {
			target= (IContainer)dropTarget;
		} else {
			try {
				target= (IContainer)((IJavaElement)dropTarget).getCorrespondingResource();	
			} catch (JavaModelException e) {
			}
		}
		if (target == null)
			return;
		
		List files= checkFiles(SWTUtil.getShell(event.widget),(String[])data, target.getLocation());
		if (files.size() > 0) {
			Shell shell= JavaPlugin.getActiveWorkbenchShell();
			
			ImportOperation op= new ImportOperation(target.getFullPath(), FileSystemStructureProvider.INSTANCE, this, files);
			op.setCreateContainerStructure(false);