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

Bug 342614

Summary: Refactor QooxdooResourcesUtil
Product: [RT] RAP Reporter: Rüdiger Herrmann <ruediger.herrmann>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: austin.riddle, ivan, rsternberg, tbuschto
Version: unspecified   
Target Milestone: 1.4 M7   
Hardware: All   
OS: All   
Whiteboard:

Description Rüdiger Herrmann CLA 2011-04-12 13:28:37 EDT
All methods in QooxdooResourceUtil utilize the ResourcceManager and each of these methods acquires an instance at the beginning of the method.
These methods could benefit from being member methods of QooxdooResourceUtil and the ResourceManager was a field of this class.
Besides, the class could be renamed to ClientResources or ClientResourceUtil as it no longer provides only qx-specific resources.
What do you think?
Comment 1 Rüdiger Herrmann CLA 2011-04-13 05:40:31 EDT
I made the changes outlined in the description and renamed QooxdooResourceUtil to ClientResources.
Unforunately, the com.eclipsesource.rap.clientbuilder is also affected: in JsFilesList it references QooxdooResourceUtil

Changes are in CVS HEAD