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
void perform(ISourceReference selected) throws CoreException{
		ISourceReference selectedWorkingCopyElement= getWorkingCopyElement(selected);
		if (selectedWorkingCopyElement == null || ! ((IJavaElement)selectedWorkingCopyElement).exists())
			return;
		
		if (canPasteIn(selectedWorkingCopyElement, getContentsToPaste())){
			if (selectedWorkingCopyElement instanceof ICompilationUnit) 
				pasteInCompilationUnit((ICompilationUnit)selectedWorkingCopyElement);
			else
				paste(MemberEdit.ADD_AT_BEGINNING, selectedWorkingCopyElement);	
		}	else if (canPasteAfter(selectedWorkingCopyElement, getContentsToPaste()))
			paste(MemberEdit.INSERT_AFTER, selectedWorkingCopyElement);
		else	
			Assert.isTrue(false);	
	}
	private  ISourceReference getWorkingCopyElement(ISourceReference selected) throws JavaModelException {
		ICompilationUnit cu= SourceReferenceUtil.getCompilationUnit(selected);
		ICompilationUnit workingCopy= WorkingCopyUtil.getWorkingCopyIfExists(cu);
		return (ISourceReference)JavaModelUtil.findInCompilationUnit(workingCopy, (IJavaElement)selected);
	}
		
	private  void paste(int style, ISourceReference selected) throws CoreException{
		TextBuffer tb= TextBuffer.acquire(SourceReferenceUtil.getFile(selected));
		try{
			TextBufferEditor tbe= new TextBufferEditor(tb);
			TypedSource[] elems= getContentsToPaste();
			
			IJavaElement element= (IJavaElement)selected;
			int tabWidth= CodeFormatterUtil.getTabWidth();
			for (int i= 0; i < elems.length; i++) {