Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344974 - No need for separate removeProject in file client
Summary: No need for separate removeProject in file client
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-06 10:35 EDT by John Arthorne CLA
Modified: 2011-09-01 11:41 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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