Bug 20151 Copy/Paste inserts two new lines [ccp]
F3 - select a method in ouliner - copy - select CU - paste observe: method has two trailing newlines. There should be only one. May be this is a regression of the CodeFormatter fix
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteSourceReferencesFromClipboardAction.java
protected TypedSource[] getContentsToPaste(){
		if (fClipboard == null)
			return new TypedSource[0];
		else	
			return (TypedSource[])fClipboard.getContents(TypedSourceTransfer.getInstance());
	}
	
	private  boolean canPaste(ISourceReference ref, TypedSource[] elements){
		return (canPasteIn(ref, elements) || canPasteAfter(ref, elements));
	}
	
	private ISourceReference getSelectedElement(IStructuredSelection selection){
		return (ISourceReference)selection.getFirstElement();
	}
	
	public void run(final IStructuredSelection selection) {
		if (! canOperateOn(selection))
			return;
		
		new BusyIndicator().showWhile(JavaPlugin.getActiveWorkbenchShell().getDisplay(), new Runnable() {
			public void run() {
				try {
					perform(getSelectedElement(selection));
				} catch (CoreException e) {
					ExceptionHandler.handle(e, ReorgMessages.getString("PasteSourceReferencesFromClipboardAction.paste1"), ReorgMessages.getString("PasteSourceReferencesFromClipboardAction.exception")); 
				}
			}
		});
	}