Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-05-02 11:03:36 -0400
committerUwe Stieber2012-05-02 11:03:36 -0400
commit15f5337bd147a5f065dfa380b0686fff32741353 (patch)
treed15d3d54444533223a80d5d9001862dfc0888402 /target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.telnet
parent7475e3f8d57d29a299be6ddc39f85083cb067b6c (diff)
downloadorg.eclipse.tcf-15f5337bd147a5f065dfa380b0686fff32741353.tar.gz
org.eclipse.tcf-15f5337bd147a5f065dfa380b0686fff32741353.tar.xz
org.eclipse.tcf-15f5337bd147a5f065dfa380b0686fff32741353.zip
Target Explorer: Fix findbugs warnings
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.telnet')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.telnet/src/org/eclipse/tcf/te/ui/terminals/telnet/controls/TelnetWizardConfigurationPanel.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.telnet/src/org/eclipse/tcf/te/ui/terminals/telnet/controls/TelnetWizardConfigurationPanel.java b/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.telnet/src/org/eclipse/tcf/te/ui/terminals/telnet/controls/TelnetWizardConfigurationPanel.java
index 702828289..bba7c3b2a 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.telnet/src/org/eclipse/tcf/te/ui/terminals/telnet/controls/TelnetWizardConfigurationPanel.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.telnet/src/org/eclipse/tcf/te/ui/terminals/telnet/controls/TelnetWizardConfigurationPanel.java
@@ -59,7 +59,7 @@ public class TelnetWizardConfigurationPanel extends AbstractConfigurationPanel i
panel.setLayoutData(data);
if(isWithoutSelection()){
- createHostsUI(panel);
+ createHostsUI(panel);
}
TelnetConnector conn = new TelnetConnector();
@@ -69,7 +69,7 @@ public class TelnetWizardConfigurationPanel extends AbstractConfigurationPanel i
telnetSettings.setHost(getSelectionHost());
// MWE otherwise we don't get a valid default selection of the combo
telnetSettings.setNetworkPort(NetworkPortMap.PROP_VALUETELNET);
-
+
setControl(panel);
}
@@ -142,13 +142,13 @@ public class TelnetWizardConfigurationPanel extends AbstractConfigurationPanel i
if(hostSettingsMap.containsKey(host)){
Map<String, String> hostSettings=hostSettingsMap.get(host);
hostSettings.put(ITerminalsConnectorConstants.PROP_IP_HOST, telnetSettings.getHost());
- hostSettings.put(ITerminalsConnectorConstants.PROP_IP_PORT, new Integer(telnetSettings.getNetworkPort()).toString());
- hostSettings.put(ITerminalsConnectorConstants.PROP_TIMEOUT, new Integer(telnetSettings.getTimeout()).toString());
+ hostSettings.put(ITerminalsConnectorConstants.PROP_IP_PORT, Integer.toString(telnetSettings.getNetworkPort()));
+ hostSettings.put(ITerminalsConnectorConstants.PROP_TIMEOUT, Integer.toString(telnetSettings.getTimeout()));
} else if(add){
Map<String, String> hostSettings=new HashMap<String, String>();
hostSettings.put(ITerminalsConnectorConstants.PROP_IP_HOST, telnetSettings.getHost());
- hostSettings.put(ITerminalsConnectorConstants.PROP_IP_PORT, new Integer(telnetSettings.getNetworkPort()).toString());
- hostSettings.put(ITerminalsConnectorConstants.PROP_TIMEOUT, new Integer(telnetSettings.getTimeout()).toString());
+ hostSettings.put(ITerminalsConnectorConstants.PROP_IP_PORT, Integer.toString(telnetSettings.getNetworkPort()));
+ hostSettings.put(ITerminalsConnectorConstants.PROP_TIMEOUT, Integer.toString(telnetSettings.getTimeout()));
hostSettingsMap.put(host, hostSettings);
}
}

Back to the top