Reputation: 7568
I accidentally deleted a .java
in Eclipse, then renamed its package. Is there any way to recover it?
If I undo, it tells me that I cannot undo the renaming of a package.
Upvotes: 2
Views: 352
Reputation: 13338
Have you try right click on the project > Restore from Local History...?
Upvotes: 6
Reputation: 8240
According to the versioning software you are using (ex. svn, cvs), just revert or update it to the latest version.
Upvotes: 1