[jbosstools-issues] [JBoss JIRA] (JBIDE-21331) Connection wizard: it looks as if the wizard is creating new connection instances several times

Josef Kopriva (JIRA) issues at jboss.org
Mon Apr 9 06:58:00 EDT 2018


     [ https://issues.jboss.org/browse/JBIDE-21331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Josef Kopriva closed JBIDE-21331.
---------------------------------


Closing, nothing to do.

> Connection wizard: it looks as if the wizard is creating new connection instances several times
> -----------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-21331
>                 URL: https://issues.jboss.org/browse/JBIDE-21331
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 4.3.0.Beta1
>            Reporter: Andre Dietisheim
>            Assignee: Andre Dietisheim
>            Priority: Minor
>              Labels: connection_wizard, openshift_v3
>             Fix For: 4.5.3.Final
>
>
> The connection wizard creates new connection instances in several places which seems unnecessary (we need it at least once where we dont want to modify an existing connection and operate on a copy before merging the changes back upon successfull verification)
> {code:title=ConnctionWizardPageModel} 
> 	private void initEditConnection(IConnection connection) {
> 		this.selectedConnection = connection;
> 		this.connection = connection.clone();
> 		...
> {code}
> {code:title=ConnctionWizardPageModel} 
> 	public IStatus connect() {
> 		...
> 		try {
> 			this.connection = createConnection();
> 		...
> {code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list