diff options
author | Lars Vogel | 2020-06-05 16:32:00 +0000 |
---|---|---|
committer | Lars Vogel | 2020-06-10 08:47:56 +0000 |
commit | 83672f954e70715acb869dc6e68066955ee543ef (patch) | |
tree | a9d694b4a9b3906ea045494f1663ef19077c19e5 | |
parent | bb0be2029b1b0d57b083150b21a88f34b1bdcc2d (diff) | |
download | eclipse.platform.team-83672f954e70715acb869dc6e68066955ee543ef.tar.gz eclipse.platform.team-83672f954e70715acb869dc6e68066955ee543ef.tar.xz eclipse.platform.team-83672f954e70715acb869dc6e68066955ee543ef.zip |
Bug 564117 - Using lazy logical operator
Use lazy logical operator (&& and ||) as it is potentially faster.
Change-Id: I6ab8cc6d5ce35cb3a916a6e11de4521340400a73
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r-- | bundles/org.eclipse.jsch.ui/src/org/eclipse/jsch/internal/ui/KeyboardInteractiveDialog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.jsch.ui/src/org/eclipse/jsch/internal/ui/KeyboardInteractiveDialog.java b/bundles/org.eclipse.jsch.ui/src/org/eclipse/jsch/internal/ui/KeyboardInteractiveDialog.java index 6b1328251..20a1bb4f1 100644 --- a/bundles/org.eclipse.jsch.ui/src/org/eclipse/jsch/internal/ui/KeyboardInteractiveDialog.java +++ b/bundles/org.eclipse.jsch.ui/src/org/eclipse/jsch/internal/ui/KeyboardInteractiveDialog.java @@ -193,7 +193,7 @@ protected Control createDialogArea(Composite parent) { createPasswordFields(main); - if (isPasswordAuth & domain != null) { + if (isPasswordAuth && domain != null) { allowCachingButton = new Button(main, SWT.CHECK); allowCachingButton.setText(Messages.KeyboardInteractiveDialog_4); data = new GridData(GridData.FILL_HORIZONTAL |