diff options
author | Ahmed Ashour <asashour@yahoo.com> | 2017-09-22 06:57:35 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-09-22 07:57:35 +0300 |
commit | 1b8d507e5b3b14a57b4527ba1af1c074b99fcca2 (patch) | |
tree | 40b7bad47f26e03c0ed2364ebbb134719c2c0e22 /client | |
parent | d542679321184eeacaeee7e39cd35755f3af7328 (diff) | |
download | vaadin-framework-1b8d507e5b3b14a57b4527ba1af1c074b99fcca2.tar.gz vaadin-framework-1b8d507e5b3b14a57b4527ba1af1c074b99fcca2.zip |
Replace iff with if in javadoc (#10056)
Diffstat (limited to 'client')
10 files changed, 17 insertions, 17 deletions
diff --git a/client/src/main/java/com/vaadin/client/DeferredWorker.java b/client/src/main/java/com/vaadin/client/DeferredWorker.java index a234e783f6..38d22f9887 100644 --- a/client/src/main/java/com/vaadin/client/DeferredWorker.java +++ b/client/src/main/java/com/vaadin/client/DeferredWorker.java @@ -29,7 +29,7 @@ public interface DeferredWorker { * Checks whether there are operations pending for this widget or connector * that must be executed before reaching a steady state. * - * @returns <code>true</code> iff there are operations pending which must be + * @returns <code>true</code> if there are operations pending which must be * executed before reaching a steady state */ public boolean isWorkPending(); diff --git a/client/src/main/java/com/vaadin/client/ui/VMenuBar.java b/client/src/main/java/com/vaadin/client/ui/VMenuBar.java index 0687ff472e..63e0f687b1 100644 --- a/client/src/main/java/com/vaadin/client/ui/VMenuBar.java +++ b/client/src/main/java/com/vaadin/client/ui/VMenuBar.java @@ -1338,7 +1338,7 @@ public class VMenuBar extends SimpleFocusablePanel * Whether {@code CTRL} was pressed * @param shift * Whether {@code SHIFT} was pressed - * @return true iff the navigation event was handled + * @return true if the navigation event was handled */ public boolean handleNavigation(int keycode, boolean ctrl, boolean shift) { diff --git a/client/src/main/java/com/vaadin/client/ui/VPopupView.java b/client/src/main/java/com/vaadin/client/ui/VPopupView.java index 43da119c5a..e28e019b8b 100644 --- a/client/src/main/java/com/vaadin/client/ui/VPopupView.java +++ b/client/src/main/java/com/vaadin/client/ui/VPopupView.java @@ -433,7 +433,7 @@ public class VPopupView extends HTML * Checks whether there are operations pending for this widget that must be * executed before reaching a steady state. * - * @returns <code>true</code> iff there are operations pending which must be + * @returns <code>true</code> if there are operations pending which must be * executed before reaching a steady state * @since 7.3.4 */ diff --git a/client/src/main/java/com/vaadin/client/ui/VSlider.java b/client/src/main/java/com/vaadin/client/ui/VSlider.java index 86feb560b8..65aaa56ef0 100644 --- a/client/src/main/java/com/vaadin/client/ui/VSlider.java +++ b/client/src/main/java/com/vaadin/client/ui/VSlider.java @@ -468,7 +468,7 @@ public class VSlider extends SimpleFocusablePanel * Whether {@code CTRL} was pressed * @param shift * Whether {@code SHIFT} was pressed - * @return true iff the navigation event was handled + * @return true if the navigation event was handled */ public boolean handleNavigation(int keycode, boolean ctrl, boolean shift) { diff --git a/client/src/main/java/com/vaadin/client/ui/dd/VDragAndDropManager.java b/client/src/main/java/com/vaadin/client/ui/dd/VDragAndDropManager.java index 906165a499..e3b0f11a0d 100644 --- a/client/src/main/java/com/vaadin/client/ui/dd/VDragAndDropManager.java +++ b/client/src/main/java/com/vaadin/client/ui/dd/VDragAndDropManager.java @@ -517,7 +517,7 @@ public class VDragAndDropManager { /* * Remove class name indicating drag source when server visit is done - * iff server visit was not initiated. Otherwise it will be removed once + * if server visit was not initiated. Otherwise it will be removed once * the server visit is done. */ if (!sendTransferableToServer && currentDrag != null) { diff --git a/client/src/main/java/com/vaadin/client/widget/escalator/ScrollbarBundle.java b/client/src/main/java/com/vaadin/client/widget/escalator/ScrollbarBundle.java index 41bc1b5952..cadc17968d 100644 --- a/client/src/main/java/com/vaadin/client/widget/escalator/ScrollbarBundle.java +++ b/client/src/main/java/com/vaadin/client/widget/escalator/ScrollbarBundle.java @@ -778,7 +778,7 @@ public abstract class ScrollbarBundle implements DeferredWorker { * In other words, this method checks whether the contents is larger than * can visually fit in the element. * - * @return <code>true</code> iff the scrollbar's handle is visible + * @return <code>true</code> if the scrollbar's handle is visible */ public boolean showsScrollHandle() { return getScrollSize() - getOffsetSize() > WidgetUtil.PIXEL_EPSILON; @@ -876,7 +876,7 @@ public abstract class ScrollbarBundle implements DeferredWorker { /** * Checks whether the scrollbar bundle is locked or not. * - * @return <code>true</code> iff the scrollbar bundle is locked + * @return <code>true</code> if the scrollbar bundle is locked */ public boolean isLocked() { return isLocked; diff --git a/client/src/main/java/com/vaadin/client/widget/grid/EditorHandler.java b/client/src/main/java/com/vaadin/client/widget/grid/EditorHandler.java index 14467987cf..d00745c986 100644 --- a/client/src/main/java/com/vaadin/client/widget/grid/EditorHandler.java +++ b/client/src/main/java/com/vaadin/client/widget/grid/EditorHandler.java @@ -122,7 +122,7 @@ public interface EditorHandler<T> { /** * Checks whether the request is completed or not. * - * @return <code>true</code> iff the request is completed + * @return <code>true</code> if the request is completed */ public boolean isCompleted(); } diff --git a/client/src/main/java/com/vaadin/client/widget/grid/selection/SelectionEvent.java b/client/src/main/java/com/vaadin/client/widget/grid/selection/SelectionEvent.java index 707330ad34..4145919f2f 100644 --- a/client/src/main/java/com/vaadin/client/widget/grid/selection/SelectionEvent.java +++ b/client/src/main/java/com/vaadin/client/widget/grid/selection/SelectionEvent.java @@ -160,7 +160,7 @@ public class SelectionEvent<T> extends GwtEvent<SelectionHandler> { * Checks if this selection change event is fired during a batched * selection/deselection operation. * - * @return <code>true</code> iff this event is fired during a batched + * @return <code>true</code> if this event is fired during a batched * selection/deselection operation */ public boolean isBatchedSelection() { diff --git a/client/src/main/java/com/vaadin/client/widgets/Escalator.java b/client/src/main/java/com/vaadin/client/widgets/Escalator.java index fa1145d9cf..bfff4ad6ae 100644 --- a/client/src/main/java/com/vaadin/client/widgets/Escalator.java +++ b/client/src/main/java/com/vaadin/client/widgets/Escalator.java @@ -1740,9 +1740,9 @@ public class Escalator extends Widget * @since 7.5.0 * * @param tr - * the row element to check for if it is or has elements that - * can be frozen - * @return <code>true</code> iff this the given element, or any of its + * the row element to check whether it, + * or any of its its descendants can be frozen + * @return <code>true</code> if the given element, or any of its * descendants, can be frozen */ protected abstract boolean rowCanBeFrozen(TableRowElement tr); @@ -5935,7 +5935,7 @@ public class Escalator extends Widget * Check whether there are both columns and any row data (for either * headers, body or footer). * - * @return <code>true</code> iff header, body or footer has rows && there + * @return <code>true</code> if header, body or footer has rows and there * are columns */ private boolean hasColumnAndRowData() { @@ -5947,7 +5947,7 @@ public class Escalator extends Widget /** * Check whether there are any cells in the DOM. * - * @return <code>true</code> iff header, body or footer has any child + * @return <code>true</code> if header, body or footer has any child * elements */ private boolean hasSomethingInDom() { @@ -6657,7 +6657,7 @@ public class Escalator extends Widget * * @param direction * the direction of the scroll of which to check the lock status - * @return <code>true</code> iff the direction is locked + * @return <code>true</code> if the direction is locked */ public boolean isScrollLocked(ScrollbarBundle.Direction direction) { switch (direction) { diff --git a/client/src/main/java/com/vaadin/client/widgets/Grid.java b/client/src/main/java/com/vaadin/client/widgets/Grid.java index 537d864836..9b04100d48 100755 --- a/client/src/main/java/com/vaadin/client/widgets/Grid.java +++ b/client/src/main/java/com/vaadin/client/widgets/Grid.java @@ -1524,7 +1524,7 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>, * @see #editRow(int, int) */ public void editRow(int rowIndex) { - // Focus the last focused column in the editor iff grid or its child + // Focus the last focused column in the editor if grid or its child // was focused before the edit request Cell focusedCell = grid.cellFocusHandler.getFocusedCell(); Element focusedElement = WidgetUtil.getFocusedElement(); @@ -9117,7 +9117,7 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>, * @since 7.5.0 * @param rowIndex * the index of the row for which to check details - * @return <code>true</code> iff the details for the given row is visible + * @return <code>true</code> if the details for the given row is visible * @see #setDetailsVisible(int, boolean) */ public boolean isDetailsVisible(int rowIndex) { |