Summary: | initializeSubSystem() default impl should not set the port to 0 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] Target Management | Reporter: | Martin Oberhuber <mober.at+eclipse> | ||||
Component: | RSE | Assignee: | Martin Oberhuber <mober.at+eclipse> | ||||
Status: | RESOLVED FIXED | QA Contact: | Martin Oberhuber <mober.at+eclipse> | ||||
Severity: | enhancement | ||||||
Priority: | P3 | Flags: | dmcknigh:
review+
|
||||
Version: | 2.0 | ||||||
Target Milestone: | 2.0.1 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Martin Oberhuber
2007-07-04 10:55:10 EDT
All current implementations of ConnectorService set the port to 0 in their constructor, except FTP (sets it to 21 -- the default) and daytime (sets it to 13). I thus expect the following change in functionality for FTP and Daytime only: * maybe improved performance sine ConnectorService is no longer marked dirty * Subsystem Properties of newly created connections for Daytime and FTP will show the actual port being used rather than "0 (First-available)". I consider this an improvement since it better shows users where the port can be actually changed. Note that existing subsystems which were created before this change will still have port "0" shown for Daytime and FTP since this port number (meaning "default port") is stored persistently. Created attachment 73033 [details]
Patch removing the setPort(0) call
Dave could you please review whether you'd consider attached patch appropriate for 2.0.1? It does slightly change the functionality that had been documented in the APIDocs, but IMHO that functionality was not appropriate and removing it just improves the overall situation. This seems okay to me. Patch committed - thanks. |