refactored RestManager.delete into RestManager.startDelete
fixed some compiler warnings
Merge pull request #10 from LarsHassler/2866731032307-refactor-restmanager.delete

2866731032307 refactor restmanager.delete