Project: JDT
Bug 244681 [create on paste] Two .java files created when pasting source with secondary type before primary type
Reported: 2008-08-20 07:34:06 | Status: resolved fixed

I20080617-2000 1. Start a new workspace 2. Copy/Paste the following in Package Explorer: package p; class Y { } public class X { } Observe: 2 .java files are created. If you put secondary type Y after X, then only 1 .java file is created.

Files changed in fix:
org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/PasteAction.java