Undoing Refactoring Changes

See Also

You can undo any changes that you made using the commands in the Refactor menu by following the steps below. When you undo a refactoring, the IDE rolls back all the changes in all the files that were affected by the refactoring.

To undo a refactoring command:

  1. If you have not already done so, open one of the files that was affected by the refactoring in the Java Editor.
  2. Click anywhere in the file.
  3. Right-click and choose Refactor > Undo from the contextual menu.

    The IDE rolls back all the changes in all the files that were affected by the refactoring.

See Also
Refactoring: Quick Reference
About Refactoring

Legal Notices