Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 344974

Summary: No need for separate removeProject in file client
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.2   
Target Milestone: 0.2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description John Arthorne CLA 2011-05-06 10:35:16 EDT
File client API currently has "removeProject" and "deleteFile". These can be merged into a single function to simplify the API. Since "deleteFile" also operates on folders the name was already confusing. I will change it to simply "delete".
Comment 1 John Arthorne CLA 2011-05-06 13:40:52 EDT
I got rid of removeProject.

I left deleteFile alone because it is consistent with all the other method names. Also "delete" is a JavaScript reserved word and couldn't think of a better name.

http://git.eclipse.org/c/e4/org.eclipse.orion.client.git/commit/?id=efa89c6f52fbee3dab7ba161d541b29df434c381