Bug 247294 [CommonNavigator] Project Explorer: ResourceDragAdapterAssistant always initiates drag of resources
bundles/org.eclipse.ui.navigator.resources/src/org/eclipse/ui/navigator/resources/ResourceDragAdapterAssistant.java
}
			return true;
		} else if (FileTransfer.getInstance().isSupportedType(anEvent.dataType)) {
			IResource[] resources = getSelectedResources(aSelection);
			
			final int length = resources.length;
			int actualLength = 0;
			String[] fileNames = new String[length];
			for (int i = 0; i < length; i++) {
				IPath location = resources[i].getLocation();
				
				if (location != null) {
					fileNames[actualLength++] = location.toOSString();
				}
			}
			if (actualLength > 0) { 
				
				if (actualLength < length) {
					String[] tempFileNames = fileNames;
					fileNames = new String[actualLength];
					for (int i = 0; i < actualLength; i++)
						fileNames[i] = tempFileNames[i];
				}
				anEvent.data = fileNames;
	
				if (DEBUG)
					System.out
							.println("ResourceDragAdapterAssistant.dragSetData set FileTransfer"); 
				return true;
			}