Bug 1077418 - [hotfix] Restart operation on EAP 5 resource doesn't return failure message when restart fails

Removed unused imports which failed the build