Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2016-10-29 09:44:31 +0000
committerAndrey Loskutov2016-11-04 20:18:25 +0000
commita114e221df58ed0106dc903ce3ff1aeb28da617f (patch)
tree39b5d2f9229ece8e09cb5e6565f5aa90fc8ac3bf /bundles/org.eclipse.ui.net
parent8ccd7fa0fae6e89d9a4d5df1c7165ba0112d4d59 (diff)
downloadeclipse.platform.team-a114e221df58ed0106dc903ce3ff1aeb28da617f.tar.gz
eclipse.platform.team-a114e221df58ed0106dc903ce3ff1aeb28da617f.tar.xz
eclipse.platform.team-a114e221df58ed0106dc903ce3ff1aeb28da617f.zip
Bug 506732 - cleanup trailing spaces in *.net plugins
Change-Id: I1c73f095df443cd039ae944d85ab03bc14cb392b Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Diffstat (limited to 'bundles/org.eclipse.ui.net')
-rw-r--r--bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/Activator.java2
-rw-r--r--bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/NonProxyHostsComposite.java4
-rw-r--r--bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyEntriesComposite.java4
-rw-r--r--bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyPreferencePage.java2
-rw-r--r--bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/auth/NetAuthenticator.java2
-rw-r--r--bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/auth/UserValidationDialog.java18
6 files changed, 16 insertions, 16 deletions
diff --git a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/Activator.java b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/Activator.java
index 718174e32..581c6818f 100644
--- a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/Activator.java
+++ b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/Activator.java
@@ -36,7 +36,7 @@ public class Activator extends AbstractUIPlugin {
/**
* Returns the shared instance
- *
+ *
* @return the shared instance
*/
public static Activator getDefault() {
diff --git a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/NonProxyHostsComposite.java b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/NonProxyHostsComposite.java
index e406d20e5..b9b5ea7e5 100644
--- a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/NonProxyHostsComposite.java
+++ b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/NonProxyHostsComposite.java
@@ -327,7 +327,7 @@ public class NonProxyHostsComposite extends Composite {
if (!data.getSource().equals(provider)) {
natives.add(data);
}
- }
+ }
bypassHosts.removeAll(natives);
String providers[] = ProxySelector.getProviders();
for (int i = 0; i < providers.length; i++) {
@@ -338,7 +338,7 @@ public class NonProxyHostsComposite extends Composite {
hostsViewer.refresh();
setProvider(currentProvider);
}
-
+
private List getProxyBypassData(String provider) {
List bypassProxyData = new ArrayList();
String[] hosts = ProxySelector.getBypassHosts(provider);
diff --git a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyEntriesComposite.java b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyEntriesComposite.java
index 4aa5e29c8..9e0b2f163 100644
--- a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyEntriesComposite.java
+++ b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyEntriesComposite.java
@@ -298,7 +298,7 @@ public class ProxyEntriesComposite extends Composite {
}
public void refresh() {
- String provider = getEditableProvider();
+ String provider = getEditableProvider();
Iterator it = proxyEntries.iterator();
ArrayList natives = new ArrayList();
while (it.hasNext()) {
@@ -317,7 +317,7 @@ public class ProxyEntriesComposite extends Composite {
entriesViewer.refresh();
setProvider(currentProvider);
}
-
+
private List getProxyData(String provider) {
List proxyDatas = new ArrayList();
ProxyData[] entries = ProxySelector.getProxyData(provider);
diff --git a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyPreferencePage.java b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyPreferencePage.java
index cafdaea6e..e0b532b4f 100644
--- a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyPreferencePage.java
+++ b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/ProxyPreferencePage.java
@@ -134,7 +134,7 @@ public class ProxyPreferencePage extends PreferencePage implements
nonProxyHostsComposite.setProvider(name);
refresh();
}
-
+
private void refresh() {
proxyEntriesComposite.refresh();
nonProxyHostsComposite.refresh();
diff --git a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/auth/NetAuthenticator.java b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/auth/NetAuthenticator.java
index 4f5dade17..e1e9a9c52 100644
--- a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/auth/NetAuthenticator.java
+++ b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/auth/NetAuthenticator.java
@@ -13,7 +13,7 @@ package org.eclipse.ui.internal.net.auth;
import java.net.*;
public class NetAuthenticator extends Authenticator {
-
+
/*
* @see Authenticator#getPasswordAuthentication()
*/
diff --git a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/auth/UserValidationDialog.java b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/auth/UserValidationDialog.java
index 05a967bae..622168ba8 100644
--- a/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/auth/UserValidationDialog.java
+++ b/bundles/org.eclipse.ui.net/src/org/eclipse/ui/internal/net/auth/UserValidationDialog.java
@@ -34,7 +34,7 @@ public class UserValidationDialog extends Dialog {
* Gets user and password from a user. May be called from any thread
* @param host the host name
* @param message the message to be displayed when prompting
- *
+ *
* @return UserAuthentication that contains the userid and the password or
* <code>null</code> if the dialog has been cancelled
*/
@@ -58,19 +58,19 @@ public class UserValidationDialog extends Dialog {
}
/**
* Gets user and password from a user Must be called from UI thread
- *
+ *
* @return UserAuthentication that contains the userid and the password or
* <code>null</code> if the dialog has been cancelled
*/
protected static Authentication askForAuthentication(String host,
String message) {
- UserValidationDialog ui = new UserValidationDialog(null, host, message);
+ UserValidationDialog ui = new UserValidationDialog(null, host, message);
ui.open();
return ui.getAuthentication();
}
/**
* Creates a new UserValidationDialog.
- *
+ *
* @param parentShell
* parent Shell or null
*/
@@ -85,7 +85,7 @@ public class UserValidationDialog extends Dialog {
*/
protected void configureShell(Shell newShell) {
super.configureShell(newShell);
- newShell.setText(NetUIMessages.UserValidationDialog_0);
+ newShell.setText(NetUIMessages.UserValidationDialog_0);
}
/**
*/
@@ -105,8 +105,8 @@ public class UserValidationDialog extends Dialog {
main.setLayoutData(new GridData(GridData.FILL_BOTH));
Label label = new Label(main, SWT.WRAP);
- String text = NLS.bind(NetUIMessages.UserValidationDialog_1, host);
- text += "\n\n" + message; //$NON-NLS-1$
+ String text = NLS.bind(NetUIMessages.UserValidationDialog_1, host);
+ text += "\n\n" + message; //$NON-NLS-1$
label.setText(text);
GridData data = new GridData(GridData.FILL_HORIZONTAL);
data.horizontalSpan = 3;
@@ -122,7 +122,7 @@ public class UserValidationDialog extends Dialog {
* Creates the three widgets that represent the user name entry area.
*/
protected void createPasswordFields(Composite parent) {
- new Label(parent, SWT.NONE).setText(NetUIMessages.UserValidationDialog_2);
+ new Label(parent, SWT.NONE).setText(NetUIMessages.UserValidationDialog_2);
passwordField = new Text(parent, SWT.BORDER | SWT.PASSWORD);
GridData data = new GridData(GridData.FILL_HORIZONTAL);
@@ -135,7 +135,7 @@ public class UserValidationDialog extends Dialog {
* Creates the three widgets that represent the user name entry area.
*/
protected void createUsernameFields(Composite parent) {
- new Label(parent, SWT.NONE).setText(NetUIMessages.UserValidationDialog_3);
+ new Label(parent, SWT.NONE).setText(NetUIMessages.UserValidationDialog_3);
usernameField = new Text(parent, SWT.BORDER);
GridData data = new GridData(GridData.FILL_HORIZONTAL);

Back to the top