Use the Undo Checkout command from the Methods menu Delta submenu in the Class Browser or Primitive Types Browser to discard any changes that you made to the method selected in the Methods list. (To enable a user to check methods in to the JADE database, a delta must be set.)
To discard any changes (undo checkout)
In the Methods List of the Class Browser or Primitive Types Browser, select the checked out method whose changes you want to discard.
Select the Undo Checkout command from the Methods menu Delta submenu. A Confirm dialog advises you that the method source has changed, and prompts you to confirm that you want to discard (lose) the changes to the method.
Click the OK button to confirm that you want to undo the changes to the method.
Any changes that you may have made to the selected method are then discarded and the method is checked in.
The status line no longer states that the method is checked out, and the Undo Checkout command is disabled.