Add utilities to RSEHelper
cover Add utilities to RSEHelper
- add small utilities functions to RSEHelper in order to isolate functionalities that are strictly related to GUI and those that are remote utilities
Ioana Grigoropol (3):
Move remote system type checkings from GUI Dialogs and to RSEHelper Move logic for waiting for RSE initialization to RSEHelper Move filtering of suitable connections to RSEHelper
.../src/org/yocto/sdk/remotetools/RSEHelper.java | 21 +++++++++++++++ .../sdk/remotetools/actions/BaseSettingDialog.java | 27 +++++--------------- 2 files changed, 27 insertions(+), 21 deletions(-)
Signature · 1 line
1.7.9.5
PATCH 1/3 Move remote system type checkings from GUI Dialogs and to RSEHelper
- BaseSettingDialog contains code that checks whether the system type associated with a certain IHost is not null, enable and remote
- these checkings should be done in the RSEHelper for two reasons:
- limit the dependecies to the RSE Api
- isolate remote functionaties from GUI
- created method isHostViable in RSEHelper that performs all the checks need by BaseSettingDialog
- replace system type checkings in BaseSettingDialog with calls to isHostViable(IHost)
--- .../src/org/yocto/sdk/remotetools/RSEHelper.java | 8 ++++++++ .../sdk/remotetools/actions/BaseSettingDialog.java | 9 ++------- 2 files changed, 10 insertions(+), 7 deletions(-)
plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/RSEHelper.java +8 -0
@@ -43,6 +43,7 @@ import org.eclipse.rse.services.shells.IHostShell; import org.eclipse.rse.services.shells.IShellService; import org.eclipse.rse.subsystems.files.core.servicesubsystem.IFileServiceSubSystem; import org.eclipse.rse.subsystems.terminals.core.ITerminalServiceSubSystem; +import org.eclipse.rse.core.IRSESystemType; public class RSEHelper {
@@ -395,4 +396,11 @@ public class RSEHelper { } throw new CoreException(status); } + + public static boolean isHostViable(IHost host) { + IRSESystemType sysType = host.getSystemType(); + if (sysType != null && sysType.isEnabled() && !sysType.isLocal()) + return true; + return false; + } }
plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/BaseSettingDialog.java +2 -7
@@ -142,12 +142,9 @@ public class BaseSettingDialog extends Dialog { button.setEnabled(false); IHost currentConnectionSelected = getCurrentConnection(); if (currentConnectionSelected != null) { - IRSESystemType sysType = currentConnectionSelected.getSystemType(); - if (sysType != null && sysType.isEnabled() && !sysType.isLocal()) { - if(button!=null) { + if (RSEHelper.isHostViable(currentConnectionSelected) && button != null){ button.setEnabled(true); ret=true; - } } } return ret;
@@ -156,10 +153,8 @@ public class BaseSettingDialog extends Dialog { protected void updateCurConn() { IHost currentConnectionSelected = getCurrentConnection(); if (currentConnectionSelected != null) { - IRSESystemType sysType = currentConnectionSelected.getSystemType(); - if (sysType != null && sysType.isEnabled() && !sysType.isLocal()) { + if (RSEHelper.isHostViable(currentConnectionSelected)) curConn=currentConnectionSelected.getAliasName(); - } } updateOkButton(); }
Signature · 1 line
1.7.9.5
PATCH 2/3 Move logic for waiting for RSE initialization to RSEHelper
In reply to Ioana Grigoropol- BaseSettingsDialog contains code that ensures that RSE plug-in is initialized before performing any remote actions
- this piece of code should be placed in the RSEHelper since it does not have any relevance for the GUI class
- created method in RSEHelper called waitForRSEInitCompletition with this functionality
- replaced code in BaseSettingsDialog with a call to waitForRSEInitCompletition
--- .../src/org/yocto/sdk/remotetools/RSEHelper.java | 9 +++++++++ .../sdk/remotetools/actions/BaseSettingDialog.java | 8 +------- 2 files changed, 10 insertions(+), 7 deletions(-)
plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/RSEHelper.java +9 -0
@@ -403,4 +403,13 @@ public class RSEHelper { return true; return false; } + + public static void waitForRSEInitCompletition() { + if (!RSECorePlugin.isInitComplete(RSECorePlugin.INIT_MODEL)) + try { + RSECorePlugin.waitForInitCompletion(RSECorePlugin.INIT_MODEL); + } catch (InterruptedException e) { + return; + } + } }
plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/BaseSettingDialog.java +1 -7
@@ -27,7 +27,6 @@ import org.yocto.sdk.remotetools.RSEHelper; import org.eclipse.jface.dialogs.Dialog; import org.eclipse.jface.dialogs.IDialogConstants; import org.eclipse.rse.core.IRSESystemType; -import org.eclipse.rse.core.RSECorePlugin; import org.eclipse.rse.core.model.IHost; import org.eclipse.rse.ui.actions.SystemNewConnectionAction; import org.eclipse.swt.SWT;
@@ -181,12 +180,7 @@ public class BaseSettingDialog extends Dialog { protected void updateConnectionPulldown() { int index=-1; - if (!RSECorePlugin.isInitComplete(RSECorePlugin.INIT_MODEL)) - try { - RSECorePlugin.waitForInitCompletion(RSECorePlugin.INIT_MODEL); - } catch (InterruptedException e) { - return; - } + RSEHelper.waitForRSEInitCompletition(); // already initialized connectionCombo.removeAll(); IHost[] connections = RSEHelper.getSuitableConnections();
Signature · 1 line
1.7.9.5
PATCH 3/3 Move filtering of suitable connections to RSEHelper
In reply to Ioana Grigoropol- BaseSettingDialog performs an extra filtering for suitable connections for a given host by checking the remote system type
- this checking should be done in RSEHelper since it involves a remote action and thus removing BaseSettingDialog dependency on RSE Api
- modified RSEHelper.getSuitableConnections to include the filtering for connections with associated system type disabled
--- .../src/org/yocto/sdk/remotetools/RSEHelper.java | 4 ++++ .../sdk/remotetools/actions/BaseSettingDialog.java | 10 +++------- 2 files changed, 7 insertions(+), 7 deletions(-)
plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/RSEHelper.java +4 -0
@@ -150,6 +150,10 @@ public class RSEHelper { if(!terminalConnections.contains(fileConnection) && !shellConnections.contains(fileConnection)){ iter.remove(); } + IRSESystemType sysType = fileConnection.getSystemType(); + if (sysType != null && sysType.isEnabled()) { + iter.remove(); + } } return (IHost[]) filConnections.toArray(new IHost[filConnections.size()]);
plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/BaseSettingDialog.java +3 -7
@@ -26,7 +26,6 @@ import org.yocto.sdk.remotetools.SWTFactory; import org.yocto.sdk.remotetools.RSEHelper; import org.eclipse.jface.dialogs.Dialog; import org.eclipse.jface.dialogs.IDialogConstants; -import org.eclipse.rse.core.IRSESystemType; import org.eclipse.rse.core.model.IHost; import org.eclipse.rse.ui.actions.SystemNewConnectionAction; import org.eclipse.swt.SWT;
@@ -185,12 +184,9 @@ public class BaseSettingDialog extends Dialog { connectionCombo.removeAll(); IHost[] connections = RSEHelper.getSuitableConnections(); for (int i = 0; i < connections.length; i++) { - IRSESystemType sysType = connections[i].getSystemType(); - if (sysType != null && sysType.isEnabled()) { - connectionCombo.add(connections[i].getAliasName()); - if(connections[i].getAliasName().equals(curConn)) - index=i; - } + connectionCombo.add(connections[i].getAliasName()); + if(connections[i].getAliasName().equals(curConn)) + index=i; } if(index>=0) {
Signature · 1 line
1.7.9.5
Re: [PATCH 3/3] Move filtering of suitable connections to RSEHelper
Hi Ioana,
Isn't the logic in RSEHelper is reversed? It should be:
if (sysType == null ||! sysType.isEnabled()) {
iter.remove();
}Thanks,
Jessica
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Ioana Grigoropol
Sent: Wednesday, May 08, 2013 5:55 AM
To: [email protected]
Subject: [yocto] [PATCH 3/3] Move filtering of suitable connections to RSEHelper
- BaseSettingDialog performs an extra filtering for suitable connections for a given host by checking the remote system type
- this checking should be done in RSEHelper since it involves a remote action and thus removing BaseSettingDialog dependency on RSE Api
- modified RSEHelper.getSuitableConnections to include the filtering for connections with associated system type disabled
--- .../src/org/yocto/sdk/remotetools/RSEHelper.java | 4 ++++ .../sdk/remotetools/actions/BaseSettingDialog.java | 10 +++------- 2 files changed, 7 insertions(+), 7 deletions(-)
plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/RS renamed from plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/RSEHelper.java +0 -0
+++ EHelper.java
@@ -150,6 +150,10 @@ public class RSEHelper {
if(!terminalConnections.contains(fileConnection) && !shellConnections.contains(fileConnection)){
iter.remove();
}+ IRSESystemType sysType = fileConnection.getSystemType();
+ if (sysType != null && sysType.isEnabled()) {
+ iter.remove();
+ }
}
return (IHost[]) filConnections.toArray(new IHost[filConnections.size()]); diff --git a/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/BaseSettingDialog.java b/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/BaseSettingDialog.javaindex 06eeb00..962a20a 100644
--- a/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/BaseSettingDialog.java +++ b/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/ac
+++ tions/BaseSettingDialog.java
@@ -26,7 +26,6 @@ import org.yocto.sdk.remotetools.SWTFactory;
import org.yocto.sdk.remotetools.RSEHelper;
import org.eclipse.jface.dialogs.Dialog; import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.rse.core.IRSESystemType;
import org.eclipse.rse.core.model.IHost; import org.eclipse.rse.ui.actions.SystemNewConnectionAction; import org.eclipse.swt.SWT;
@@ -185,12 +184,9 @@ public class BaseSettingDialog extends Dialog {
connectionCombo.removeAll();
IHost[] connections = RSEHelper.getSuitableConnections();
for (int i = 0; i < connections.length; i++) {- IRSESystemType sysType = connections[i].getSystemType();
- if (sysType != null && sysType.isEnabled()) {
- connectionCombo.add(connections[i].getAliasName());
- if(connections[i].getAliasName().equals(curConn))
- index=i;
- }
+ connectionCombo.add(connections[i].getAliasName());
+ if(connections[i].getAliasName().equals(curConn))
+ index=i;
}
if(index>=0) {--
1.7.9.5
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Re: [PATCH 3/3] Move filtering of suitable connections to RSEHelper
Hi Jessica,
Yes, you are right, sorry about that. I will send a v2 of this patch set.
Thanks,
Ioana
________________________________________
From: Zhang, Jessica
Sent: Thursday, May 09, 2013 12:54 AM
To: Grigoropol, IoanaX; [email protected]
Subject: RE: [yocto] [PATCH 3/3] Move filtering of suitable connections to RSEHelper
Hi Ioana,
Isn't the logic in RSEHelper is reversed? It should be:
if (sysType == null ||! sysType.isEnabled()) {
iter.remove();
}Thanks,
Jessica
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Ioana Grigoropol
Sent: Wednesday, May 08, 2013 5:55 AM
To: [email protected]
Subject: [yocto] [PATCH 3/3] Move filtering of suitable connections to RSEHelper
- BaseSettingDialog performs an extra filtering for suitable connections for a given host by checking the remote system type
- this checking should be done in RSEHelper since it involves a remote action and thus removing BaseSettingDialog dependency on RSE Api
- modified RSEHelper.getSuitableConnections to include the filtering for connections with associated system type disabled
--- .../src/org/yocto/sdk/remotetools/RSEHelper.java | 4 ++++ .../sdk/remotetools/actions/BaseSettingDialog.java | 10 +++------- 2 files changed, 7 insertions(+), 7 deletions(-)
plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/RS renamed from plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/RSEHelper.java +0 -0
+++ EHelper.java
@@ -150,6 +150,10 @@ public class RSEHelper {
if(!terminalConnections.contains(fileConnection) && !shellConnections.contains(fileConnection)){
iter.remove();
}+ IRSESystemType sysType = fileConnection.getSystemType();
+ if (sysType != null && sysType.isEnabled()) {
+ iter.remove();
+ }
}
return (IHost[]) filConnections.toArray(new IHost[filConnections.size()]); diff --git a/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/BaseSettingDialog.java b/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/BaseSettingDialog.javaindex 06eeb00..962a20a 100644
--- a/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/BaseSettingDialog.java +++ b/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/ac
+++ tions/BaseSettingDialog.java
@@ -26,7 +26,6 @@ import org.yocto.sdk.remotetools.SWTFactory;
import org.yocto.sdk.remotetools.RSEHelper;
import org.eclipse.jface.dialogs.Dialog; import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.rse.core.IRSESystemType;
import org.eclipse.rse.core.model.IHost; import org.eclipse.rse.ui.actions.SystemNewConnectionAction; import org.eclipse.swt.SWT;
@@ -185,12 +184,9 @@ public class BaseSettingDialog extends Dialog {
connectionCombo.removeAll();
IHost[] connections = RSEHelper.getSuitableConnections();
for (int i = 0; i < connections.length; i++) {- IRSESystemType sysType = connections[i].getSystemType();
- if (sysType != null && sysType.isEnabled()) {
- connectionCombo.add(connections[i].getAliasName());
- if(connections[i].getAliasName().equals(curConn))
- index=i;
- }
+ connectionCombo.add(connections[i].getAliasName());
+ if(connections[i].getAliasName().equals(curConn))
+ index=i;
}
if(index>=0) {--
1.7.9.5
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Re: [PATCH 3/3] Move filtering of suitable connections to RSEHelper
Hi Jessica,
Please have a look at the last set of 12 patches I have sent. These should apply cleanly on the master HEAD. It contains both patch sets for refactoring(4 patches) and creating a new separate plugin for remote tools(8 patches).
Thanks,
Ioana
________________________________________
From: [email protected] [[email protected]] on behalf of Grigoropol, IoanaX [[email protected]]
Sent: Thursday, May 09, 2013 10:21 AM
To: Zhang, Jessica; [email protected]
Subject: Re: [yocto] [PATCH 3/3] Move filtering of suitable connections to RSEHelper
Hi Jessica,
Yes, you are right, sorry about that. I will send a v2 of this patch set.
Thanks,
Ioana
________________________________________
From: Zhang, Jessica
Sent: Thursday, May 09, 2013 12:54 AM
To: Grigoropol, IoanaX; [email protected]
Subject: RE: [yocto] [PATCH 3/3] Move filtering of suitable connections to RSEHelper
Hi Ioana,
Isn't the logic in RSEHelper is reversed? It should be:
if (sysType == null ||! sysType.isEnabled()) {
iter.remove();
}Thanks,
Jessica
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Ioana Grigoropol
Sent: Wednesday, May 08, 2013 5:55 AM
To: [email protected]
Subject: [yocto] [PATCH 3/3] Move filtering of suitable connections to RSEHelper
- BaseSettingDialog performs an extra filtering for suitable connections for a given host by checking the remote system type
- this checking should be done in RSEHelper since it involves a remote action and thus removing BaseSettingDialog dependency on RSE Api
- modified RSEHelper.getSuitableConnections to include the filtering for connections with associated system type disabled
--- .../src/org/yocto/sdk/remotetools/RSEHelper.java | 4 ++++ .../sdk/remotetools/actions/BaseSettingDialog.java | 10 +++------- 2 files changed, 7 insertions(+), 7 deletions(-)
plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/RS renamed from plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/RSEHelper.java +0 -0
+++ EHelper.java
@@ -150,6 +150,10 @@ public class RSEHelper {
if(!terminalConnections.contains(fileConnection) && !shellConnections.contains(fileConnection)){
iter.remove();
}+ IRSESystemType sysType = fileConnection.getSystemType();
+ if (sysType != null && sysType.isEnabled()) {
+ iter.remove();
+ }
}
return (IHost[]) filConnections.toArray(new IHost[filConnections.size()]); diff --git a/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/BaseSettingDialog.java b/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/BaseSettingDialog.javaindex 06eeb00..962a20a 100644
--- a/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/BaseSettingDialog.java +++ b/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/ac
+++ tions/BaseSettingDialog.java
@@ -26,7 +26,6 @@ import org.yocto.sdk.remotetools.SWTFactory;
import org.yocto.sdk.remotetools.RSEHelper;
import org.eclipse.jface.dialogs.Dialog; import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.rse.core.IRSESystemType;
import org.eclipse.rse.core.model.IHost; import org.eclipse.rse.ui.actions.SystemNewConnectionAction; import org.eclipse.swt.SWT;
@@ -185,12 +184,9 @@ public class BaseSettingDialog extends Dialog {
connectionCombo.removeAll();
IHost[] connections = RSEHelper.getSuitableConnections();
for (int i = 0; i < connections.length; i++) {- IRSESystemType sysType = connections[i].getSystemType();
- if (sysType != null && sysType.isEnabled()) {
- connectionCombo.add(connections[i].getAliasName());
- if(connections[i].getAliasName().equals(curConn))
- index=i;
- }
+ connectionCombo.add(connections[i].getAliasName());
+ if(connections[i].getAliasName().equals(curConn))
+ index=i;
}
if(index>=0) {--
1.7.9.5
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Re: [PATCH 3/3] Move filtering of suitable connections to RSEHelper
Hi Ioana,
I merged 02-04 patches since they're clear to me what they meant for. As to rest, I've provided some feedbacks. So please rebase against master. Also in general, please send out patches to clearly mark what they're meant for and please don't send a big patch set that contains everything, esp. multiple versions without clearly marked how they're grouped.
Thanks,
Jessica
-----Original Message-----
From: Grigoropol, IoanaX
Sent: Thursday, May 09, 2013 1:19 AM
To: Zhang, Jessica; [email protected]
Subject: RE: [yocto] [PATCH 3/3] Move filtering of suitable connections to RSEHelper
Hi Jessica,
Please have a look at the last set of 12 patches I have sent. These should apply cleanly on the master HEAD. It contains both patch sets for refactoring(4 patches) and creating a new separate plugin for remote tools(8 patches).
Thanks,
Ioana
________________________________________
From: [email protected] [[email protected]] on behalf of Grigoropol, IoanaX [[email protected]]
Sent: Thursday, May 09, 2013 10:21 AM
To: Zhang, Jessica; [email protected]
Subject: Re: [yocto] [PATCH 3/3] Move filtering of suitable connections to RSEHelper
Hi Jessica,
Yes, you are right, sorry about that. I will send a v2 of this patch set.
Thanks,
Ioana
________________________________________
From: Zhang, Jessica
Sent: Thursday, May 09, 2013 12:54 AM
To: Grigoropol, IoanaX; [email protected]
Subject: RE: [yocto] [PATCH 3/3] Move filtering of suitable connections to RSEHelper
Hi Ioana,
Isn't the logic in RSEHelper is reversed? It should be:
if (sysType == null ||! sysType.isEnabled()) {
iter.remove();
}Thanks,
Jessica
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Ioana Grigoropol
Sent: Wednesday, May 08, 2013 5:55 AM
To: [email protected]
Subject: [yocto] [PATCH 3/3] Move filtering of suitable connections to RSEHelper
- BaseSettingDialog performs an extra filtering for suitable connections for a given host by checking the remote system type
- this checking should be done in RSEHelper since it involves a remote action and thus removing BaseSettingDialog dependency on RSE Api
- modified RSEHelper.getSuitableConnections to include the filtering for connections with associated system type disabled
--- .../src/org/yocto/sdk/remotetools/RSEHelper.java | 4 ++++ .../sdk/remotetools/actions/BaseSettingDialog.java | 10 +++------- 2 files changed, 7 insertions(+), 7 deletions(-)
plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/RS renamed from plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/RSEHelper.java +0 -0
+++ EHelper.java
@@ -150,6 +150,10 @@ public class RSEHelper {
if(!terminalConnections.contains(fileConnection) && !shellConnections.contains(fileConnection)){
iter.remove();
}+ IRSESystemType sysType = fileConnection.getSystemType();
+ if (sysType != null && sysType.isEnabled()) {
+ iter.remove();
+ }
}
return (IHost[]) filConnections.toArray(new IHost[filConnections.size()]); diff --git a/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/BaseSettingDialog.java b/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/BaseSettingDialog.javaindex 06eeb00..962a20a 100644
--- a/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/actions/BaseSettingDialog.java +++ b/plugins/org.yocto.sdk.remotetools/src/org/yocto/sdk/remotetools/ac
+++ tions/BaseSettingDialog.java
@@ -26,7 +26,6 @@ import org.yocto.sdk.remotetools.SWTFactory;
import org.yocto.sdk.remotetools.RSEHelper;
import org.eclipse.jface.dialogs.Dialog; import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.rse.core.IRSESystemType;
import org.eclipse.rse.core.model.IHost; import org.eclipse.rse.ui.actions.SystemNewConnectionAction; import org.eclipse.swt.SWT;
@@ -185,12 +184,9 @@ public class BaseSettingDialog extends Dialog {
connectionCombo.removeAll();
IHost[] connections = RSEHelper.getSuitableConnections();
for (int i = 0; i < connections.length; i++) {- IRSESystemType sysType = connections[i].getSystemType();
- if (sysType != null && sysType.isEnabled()) {
- connectionCombo.add(connections[i].getAliasName());
- if(connections[i].getAliasName().equals(curConn))
- index=i;
- }
+ connectionCombo.add(connections[i].getAliasName());
+ if(connections[i].getAliasName().equals(curConn))
+ index=i;
}
if(index>=0) {--
1.7.9.5
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto