Bug 220041 - [api][breaking] Get rid of IHostProcessFilter#getStates()
Summary: [api][breaking] Get rid of IHostProcessFilter#getStates()
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.0 M6   Edit
Assignee: Martin Oberhuber CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2008-02-22 16:40 EST by Martin Oberhuber CLA
Modified: 2008-02-22 16:51 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2008-02-22 16:40:46 EST
Method
   Map IHostProcessFilter#getStates()
unnecessarily exposes an internal implementation detail, and returns a Map that is not thread safe. The method should be removed. If it necessary to iterate over all States, iterate over
   ISystemProcessRemoteConstants.ALL_STATES_STR
and check
   getSpecificState(String)
on each state.
Comment 1 Martin Oberhuber CLA 2008-02-22 16:51:41 EST
Change committed: 

[220041][api][breaking] Get rid of IHostProcessFilter#getStates()
  IHostProcessFilter
  HostProcessFilterImpl