Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 73033 Details for
Bug 195392
initializeSubSystem() default impl should not set the port to 0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch removing the setPort(0) call
patch195392_initializeSubSystem.diff.txt (text/plain), 2.60 KB, created by
Martin Oberhuber
on 2007-07-04 11:04:52 EDT
(
hide
)
Description:
Patch removing the setPort(0) call
Filename:
MIME Type:
Creator:
Martin Oberhuber
Created:
2007-07-04 11:04:52 EDT
Size:
2.60 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.ui >Index: subsystems/org/eclipse/rse/core/subsystems/SubSystemConfiguration.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/SubSystemConfiguration.java,v >retrieving revision 1.62 >diff -u -r1.62 SubSystemConfiguration.java >--- subsystems/org/eclipse/rse/core/subsystems/SubSystemConfiguration.java 4 Jun 2007 22:43:23 -0000 1.62 >+++ subsystems/org/eclipse/rse/core/subsystems/SubSystemConfiguration.java 4 Jul 2007 15:05:00 -0000 >@@ -1164,15 +1164,15 @@ > public abstract ISubSystem createSubSystemInternal(IHost conn); > > /** >- * <i>Overridable</i> method to initialize subsystems after creation. The default behaviour here is to >- * set the subsystem's port property to 0, and to add to it a reference to the default filter pool for this >- * subsystem configuration, if there is one. Typically subclasses call <samp>super().initializeSubSystem(...)</samp> >- * to get this default behaviour, then extend it. >+ * Initialize subsystems after creation (<i>Overridable</i>). >+ * The default behavior is to add a reference to the default filter pool for this subsystem configuration, >+ * if there is one. Typically subclasses call <samp>super().initializeSubSystem(...)</samp> >+ * to get this default behavior, then extend it. > * >- * <p>The reason for the connect wizard pages parm is in case your subsystem configuration contributes a page to that wizard, >+ * <p>The reason for the connect wizard pages parameter is in case your subsystem configuration contributes a page to that wizard, > * whose values are needed to set the subsystem's initial state. For example, you might decide to add a > * page to the connection wizard to prompt for a JDBC Driver name. If so, when this method is called at >- * the time a new connection is created apres the wizard, your page will have the user's value. You can >+ * the time a new connection is created after the wizard, your page will have the user's value. You can > * thus use it here to initialize that subsystem property. Be use to use instanceof to find your particular > * page. > * </p> >@@ -1187,11 +1187,6 @@ > */ > protected void initializeSubSystem(ISubSystem ss, ISystemNewConnectionWizardPage[] yourNewConnectionWizardPages) > { >- IConnectorService connectorService = ss.getConnectorService(); >- if (connectorService != null) >- { >- connectorService.setPort(0); >- } > if (supportsFilters()) > { > // --------------------------------------------
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 195392
: 73033