diff options
author | Paul Pazderski | 2019-05-18 14:07:38 +0000 |
---|---|---|
committer | Paul Pazderski | 2019-05-19 23:54:17 +0000 |
commit | de3c0c5ff08c928e6d1eb4fac2704bbb2d261669 (patch) | |
tree | de6e0a11c45731a312b5e239c22387afe93fe19c /bundles/org.eclipse.jsch.ui/src/org/eclipse/jsch/internal/ui/preference/PassphraseDialog.java | |
parent | 5e9e26b1abe5bd1df37faa91fde2d87fd79ed06b (diff) | |
download | eclipse.platform.team-de3c0c5ff08c928e6d1eb4fac2704bbb2d261669.tar.gz eclipse.platform.team-de3c0c5ff08c928e6d1eb4fac2704bbb2d261669.tar.xz eclipse.platform.team-de3c0c5ff08c928e6d1eb4fac2704bbb2d261669.zip |
Bug 547304 - [cleanup] Fix wrong space/tab indentationS4_12_0_RC2S4_12_0_RC1aS4_12_0_RC1S4_12_0_M3R4_12I20190605-1800I20190605-0600I20190604-1800I20190604-0600I20190603-1800I20190603-0600I20190602-1800I20190602-0600I20190601-1800I20190531-1800I20190531-0245I20190529-2005I20190529-1800I20190529-0600I20190528-1800I20190528-0915I20190528-0850I20190528-0600I20190527-1805I20190527-0600I20190526-1800I20190526-0600I20190525-1800I20190525-0600I20190524-1800I20190524-0135I20190522-1800I20190522-0600I20190521-1800I20190521-0600I20190520-1805I20190520-0600R4_12_maintenance
This change fixes space or mixed tab/space indentations in all Java
files. This also includes two or three space indentations and even fix
most stray single spaces in indentations.
The change includes only whitespace formatting and no code changes.
Change-Id: I4149aaf4e48ccf7b49083f36d52e0c7a67433c7d
Diffstat (limited to 'bundles/org.eclipse.jsch.ui/src/org/eclipse/jsch/internal/ui/preference/PassphraseDialog.java')
-rw-r--r-- | bundles/org.eclipse.jsch.ui/src/org/eclipse/jsch/internal/ui/preference/PassphraseDialog.java | 122 |
1 files changed, 61 insertions, 61 deletions
diff --git a/bundles/org.eclipse.jsch.ui/src/org/eclipse/jsch/internal/ui/preference/PassphraseDialog.java b/bundles/org.eclipse.jsch.ui/src/org/eclipse/jsch/internal/ui/preference/PassphraseDialog.java index bd092f433..e30f18d4c 100644 --- a/bundles/org.eclipse.jsch.ui/src/org/eclipse/jsch/internal/ui/preference/PassphraseDialog.java +++ b/bundles/org.eclipse.jsch.ui/src/org/eclipse/jsch/internal/ui/preference/PassphraseDialog.java @@ -28,77 +28,77 @@ import org.eclipse.swt.widgets.Text; class PassphraseDialog extends Dialog{ - protected Text passphraseField; - protected String passphrase=null; - protected String message=null; + protected Text passphraseField; + protected String passphrase=null; + protected String message=null; - public PassphraseDialog(Shell parentShell, String message){ - super(parentShell); - this.message=message; - } + public PassphraseDialog(Shell parentShell, String message){ + super(parentShell); + this.message=message; + } - protected void configureShell(Shell newShell){ - super.configureShell(newShell); - newShell.setText(message); - } + protected void configureShell(Shell newShell){ + super.configureShell(newShell); + newShell.setText(message); + } - public void create(){ - super.create(); - passphraseField.setFocus(); - } + public void create(){ + super.create(); + passphraseField.setFocus(); + } - protected Control createDialogArea(Composite parent){ - initializeDialogUnits(parent); - Composite main=new Composite(parent, SWT.NONE); + protected Control createDialogArea(Composite parent){ + initializeDialogUnits(parent); + Composite main=new Composite(parent, SWT.NONE); - GridLayout layout=new GridLayout(); - layout.numColumns=3; - layout.marginHeight=convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_MARGIN); - layout.marginWidth=convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_MARGIN); - layout.verticalSpacing=convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_SPACING); - layout.horizontalSpacing=convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_SPACING); - main.setLayout(layout); - main.setLayoutData(new GridData(GridData.FILL_BOTH)); + GridLayout layout=new GridLayout(); + layout.numColumns=3; + layout.marginHeight=convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_MARGIN); + layout.marginWidth=convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_MARGIN); + layout.verticalSpacing=convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_SPACING); + layout.horizontalSpacing=convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_SPACING); + main.setLayout(layout); + main.setLayoutData(new GridData(GridData.FILL_BOTH)); - if(message!=null){ - Label messageLabel=new Label(main, SWT.WRAP); - messageLabel.setText(message); - GridData data=new GridData(GridData.FILL_HORIZONTAL); - data.horizontalSpan=3; - messageLabel.setLayoutData(data); - } + if(message!=null){ + Label messageLabel=new Label(main, SWT.WRAP); + messageLabel.setText(message); + GridData data=new GridData(GridData.FILL_HORIZONTAL); + data.horizontalSpan=3; + messageLabel.setLayoutData(data); + } - createPassphraseFields(main); - Dialog.applyDialogFont(main); - return main; - } + createPassphraseFields(main); + Dialog.applyDialogFont(main); + return main; + } - protected void createPassphraseFields(Composite parent){ - new Label(parent, SWT.NONE).setText(Messages.CVSSSH2PreferencePage_127); - passphraseField=new Text(parent, SWT.BORDER); - GridData data=new GridData(GridData.FILL_HORIZONTAL); - data.widthHint=convertHorizontalDLUsToPixels(IDialogConstants.ENTRY_FIELD_WIDTH); - passphraseField.setLayoutData(data); - passphraseField.setEchoChar('*'); + protected void createPassphraseFields(Composite parent){ + new Label(parent, SWT.NONE).setText(Messages.CVSSSH2PreferencePage_127); + passphraseField=new Text(parent, SWT.BORDER); + GridData data=new GridData(GridData.FILL_HORIZONTAL); + data.widthHint=convertHorizontalDLUsToPixels(IDialogConstants.ENTRY_FIELD_WIDTH); + passphraseField.setLayoutData(data); + passphraseField.setEchoChar('*'); - new Label(parent, SWT.NONE); - } + new Label(parent, SWT.NONE); + } - public String getPassphrase(){ - return passphrase; - } + public String getPassphrase(){ + return passphrase; + } - protected void okPressed(){ - String _passphrase=passphraseField.getText(); - if(_passphrase==null||_passphrase.length()==0){ - return; - } - passphrase=_passphrase; - super.okPressed(); - } + protected void okPressed(){ + String _passphrase=passphraseField.getText(); + if(_passphrase==null||_passphrase.length()==0){ + return; + } + passphrase=_passphrase; + super.okPressed(); + } - protected void cancelPressed(){ - passphrase=null; - super.cancelPressed(); - } + protected void cancelPressed(){ + passphrase=null; + super.cancelPressed(); + } } |