diff options
author | Damian Minkov <damencho@jitsi.org> | 2013-09-13 17:40:29 +0300 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2013-09-13 17:43:38 +0300 |
commit | 4f29c797383a321460fe50072c517a7d5e254139 (patch) | |
tree | 8cc5e283eb4a504589db9f13f83f4769df2248d1 /src/net/java/sip/communicator/plugin/globalproxyconfig | |
parent | ed790ad3dd96b7bf13cf681ce2538dac9273ef28 (diff) | |
download | jitsi-4f29c797383a321460fe50072c517a7d5e254139.zip jitsi-4f29c797383a321460fe50072c517a7d5e254139.tar.gz jitsi-4f29c797383a321460fe50072c517a7d5e254139.tar.bz2 |
Fixes spell check error in field name.
Diffstat (limited to 'src/net/java/sip/communicator/plugin/globalproxyconfig')
-rw-r--r-- | src/net/java/sip/communicator/plugin/globalproxyconfig/GlobalProxyConfigForm.java | 34 | ||||
-rw-r--r-- | src/net/java/sip/communicator/plugin/globalproxyconfig/GlobalProxyPluginActivator.java | 10 |
2 files changed, 22 insertions, 22 deletions
diff --git a/src/net/java/sip/communicator/plugin/globalproxyconfig/GlobalProxyConfigForm.java b/src/net/java/sip/communicator/plugin/globalproxyconfig/GlobalProxyConfigForm.java index e8c3562..56a9a6d 100644 --- a/src/net/java/sip/communicator/plugin/globalproxyconfig/GlobalProxyConfigForm.java +++ b/src/net/java/sip/communicator/plugin/globalproxyconfig/GlobalProxyConfigForm.java @@ -179,22 +179,22 @@ public class GlobalProxyConfigForm GlobalProxyPluginActivator.getConfigurationService(); String serverAddress = configService.getString( - ProxyInfo.CONNECTON_PROXY_ADDRESS_PROPERTY_NAME); + ProxyInfo.CONNECTION_PROXY_ADDRESS_PROPERTY_NAME); if(serverAddress != null) serverAddressField.setText(serverAddress); String port = configService.getString( - ProxyInfo.CONNECTON_PROXY_PORT_PROPERTY_NAME); + ProxyInfo.CONNECTION_PROXY_PORT_PROPERTY_NAME); if(port != null) portField.setText(port); String username = configService.getString( - ProxyInfo.CONNECTON_PROXY_USERNAME_PROPERTY_NAME); + ProxyInfo.CONNECTION_PROXY_USERNAME_PROPERTY_NAME); if(username != null) usernameField.setText(username); String password = configService.getString( - ProxyInfo.CONNECTON_PROXY_PASSWORD_PROPERTY_NAME); + ProxyInfo.CONNECTION_PROXY_PASSWORD_PROPERTY_NAME); if(password != null) passwordField.setText(password); @@ -204,7 +204,7 @@ public class GlobalProxyConfigForm try { String type = configService.getString( - ProxyInfo.CONNECTON_PROXY_TYPE_PROPERTY_NAME); + ProxyInfo.CONNECTION_PROXY_TYPE_PROPERTY_NAME); if(type != null) typeCombo.setSelectedItem(ProxyInfo.ProxyType.valueOf(type)); } catch (IllegalArgumentException e) @@ -233,58 +233,58 @@ public class GlobalProxyConfigForm if(typeCombo.getSelectedItem().equals(ProxyInfo.ProxyType.NONE)) { configService.setProperty( - ProxyInfo.CONNECTON_PROXY_TYPE_PROPERTY_NAME, + ProxyInfo.CONNECTION_PROXY_TYPE_PROPERTY_NAME, ProxyInfo.ProxyType.NONE.name()); configService.removeProperty( - ProxyInfo.CONNECTON_PROXY_ADDRESS_PROPERTY_NAME); + ProxyInfo.CONNECTION_PROXY_ADDRESS_PROPERTY_NAME); configService.removeProperty( - ProxyInfo.CONNECTON_PROXY_PORT_PROPERTY_NAME); + ProxyInfo.CONNECTION_PROXY_PORT_PROPERTY_NAME); configService.removeProperty( - ProxyInfo.CONNECTON_PROXY_USERNAME_PROPERTY_NAME); + ProxyInfo.CONNECTION_PROXY_USERNAME_PROPERTY_NAME); configService.removeProperty( - ProxyInfo.CONNECTON_PROXY_PASSWORD_PROPERTY_NAME); + ProxyInfo.CONNECTION_PROXY_PASSWORD_PROPERTY_NAME); return; } configService.setProperty( - ProxyInfo.CONNECTON_PROXY_TYPE_PROPERTY_NAME, + ProxyInfo.CONNECTION_PROXY_TYPE_PROPERTY_NAME, ((ProxyInfo.ProxyType)typeCombo.getSelectedItem()).name()); String serverAddress = serverAddressField.getText(); if(serverAddress != null && serverAddress.length() > 0) configService.setProperty( - ProxyInfo.CONNECTON_PROXY_ADDRESS_PROPERTY_NAME, serverAddress); + ProxyInfo.CONNECTION_PROXY_ADDRESS_PROPERTY_NAME, serverAddress); String port = portField.getText(); if(port != null && port.length() > 0) configService.setProperty( - ProxyInfo.CONNECTON_PROXY_PORT_PROPERTY_NAME, port); + ProxyInfo.CONNECTION_PROXY_PORT_PROPERTY_NAME, port); String username = usernameField.getText(); if(username != null && username.length() > 0) { configService.setProperty( - ProxyInfo.CONNECTON_PROXY_USERNAME_PROPERTY_NAME, username); + ProxyInfo.CONNECTION_PROXY_USERNAME_PROPERTY_NAME, username); } else { configService.removeProperty( - ProxyInfo.CONNECTON_PROXY_USERNAME_PROPERTY_NAME); + ProxyInfo.CONNECTION_PROXY_USERNAME_PROPERTY_NAME); } char[] password = passwordField.getPassword(); if(password.length > 0) { configService.setProperty( - ProxyInfo.CONNECTON_PROXY_PASSWORD_PROPERTY_NAME, + ProxyInfo.CONNECTION_PROXY_PASSWORD_PROPERTY_NAME, new String(password)); } else { configService.removeProperty( - ProxyInfo.CONNECTON_PROXY_PASSWORD_PROPERTY_NAME); + ProxyInfo.CONNECTION_PROXY_PASSWORD_PROPERTY_NAME); } GlobalProxyPluginActivator.initProperties(); diff --git a/src/net/java/sip/communicator/plugin/globalproxyconfig/GlobalProxyPluginActivator.java b/src/net/java/sip/communicator/plugin/globalproxyconfig/GlobalProxyPluginActivator.java index c7ee841..6823a3a 100644 --- a/src/net/java/sip/communicator/plugin/globalproxyconfig/GlobalProxyPluginActivator.java +++ b/src/net/java/sip/communicator/plugin/globalproxyconfig/GlobalProxyPluginActivator.java @@ -115,16 +115,16 @@ public class GlobalProxyPluginActivator implements BundleActivator { // Activate proxy settings String globalProxyType = getConfigurationService() - .getString(ProxyInfo.CONNECTON_PROXY_TYPE_PROPERTY_NAME); + .getString(ProxyInfo.CONNECTION_PROXY_TYPE_PROPERTY_NAME); if(globalProxyType != null && !globalProxyType.equals(ProxyInfo.ProxyType.NONE.name())) { String globalProxyAddress = getConfigurationService().getString( - ProxyInfo.CONNECTON_PROXY_ADDRESS_PROPERTY_NAME); + ProxyInfo.CONNECTION_PROXY_ADDRESS_PROPERTY_NAME); String globalProxyPortStr = getConfigurationService().getString( - ProxyInfo.CONNECTON_PROXY_PORT_PROPERTY_NAME); + ProxyInfo.CONNECTION_PROXY_PORT_PROPERTY_NAME); int globalProxyPort = -1; try { @@ -137,10 +137,10 @@ public class GlobalProxyPluginActivator implements BundleActivator } String globalProxyUsername = getConfigurationService().getString( - ProxyInfo.CONNECTON_PROXY_USERNAME_PROPERTY_NAME); + ProxyInfo.CONNECTION_PROXY_USERNAME_PROPERTY_NAME); String globalProxyPassword = getConfigurationService().getString( - ProxyInfo.CONNECTON_PROXY_PASSWORD_PROPERTY_NAME); + ProxyInfo.CONNECTION_PROXY_PASSWORD_PROPERTY_NAME); if(globalProxyAddress == null || globalProxyAddress.length() <= 0) { |