> @@ -91,7 +93,15 @@ public void save() {
>        target = 
> context.getApi().getInfrastructureApi().createMachine(rack.unwrap(), target);
>     }
>  
> -   @Override
> +   public void delete() {
> +      context.getApi().getInfrastructureApi().deleteMachine(target);
> +      target = null;
> +   }

Agree. Once the object is deleted, it should no longer be used. If you agree, 
I'll add it in a separate PR since there are several methods like this to 
document.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/10/files#r4962401

Reply via email to