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 /compatibility-client/src | |
parent | d542679321184eeacaeee7e39cd35755f3af7328 (diff) | |
download | vaadin-framework-1b8d507e5b3b14a57b4527ba1af1c074b99fcca2.tar.gz vaadin-framework-1b8d507e5b3b14a57b4527ba1af1c074b99fcca2.zip |
Replace iff with if in javadoc (#10056)
Diffstat (limited to 'compatibility-client/src')
10 files changed, 19 insertions, 19 deletions
diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java index 55923f2eab..04bb24f0b9 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VScrollTable.java @@ -7731,7 +7731,7 @@ public class VScrollTable extends FlowPanel * 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 */ protected boolean handleNavigation(int keycode, boolean ctrl, boolean shift) { diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VSlider.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VSlider.java index 085b1e276a..a5fdc40285 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VSlider.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VSlider.java @@ -474,7 +474,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/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextField.java b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextField.java index a5e75a3c15..7c699b58ae 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextField.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/ui/VTextField.java @@ -422,7 +422,7 @@ public class VTextField extends TextBoxBase implements Field, ChangeHandler, * Updates the cursor position variable if it has changed since the last * update. * - * @return true iff the value was updated + * @return true if the value was updated */ protected boolean updateCursorPosition() { if (WidgetUtil.isAttachedAndDisplayed(this)) { diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/widget/escalator/ScrollbarBundle.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widget/escalator/ScrollbarBundle.java index 3bfae76005..cd0d4f1e38 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/widget/escalator/ScrollbarBundle.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widget/escalator/ScrollbarBundle.java @@ -780,7 +780,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; @@ -878,7 +878,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/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/EditorHandler.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/EditorHandler.java index 7777b821bc..7dc334fbce 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/EditorHandler.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/EditorHandler.java @@ -107,7 +107,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/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/selection/AbstractRowHandleSelectionModel.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/selection/AbstractRowHandleSelectionModel.java index 41e85929aa..dfd6422fab 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/selection/AbstractRowHandleSelectionModel.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/selection/AbstractRowHandleSelectionModel.java @@ -39,7 +39,7 @@ public abstract class AbstractRowHandleSelectionModel<T> * * @param handle * the handle to select by - * @return <code>true</code> iff the selection state was changed by this + * @return <code>true</code> if the selection state was changed by this * call * @throws UnsupportedOperationException * if the selection model does not support either handles or @@ -55,7 +55,7 @@ public abstract class AbstractRowHandleSelectionModel<T> * * @param handle * the handle to deselect by - * @return <code>true</code> iff the selection state was changed by this + * @return <code>true</code> if the selection state was changed by this * call * @throws UnsupportedOperationException * if the selection model does not support either handles or diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/selection/SelectionEvent.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/selection/SelectionEvent.java index 0e6bda70a7..94fb851df9 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/selection/SelectionEvent.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/selection/SelectionEvent.java @@ -169,7 +169,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/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/selection/SelectionModel.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/selection/SelectionModel.java index 28e486242c..b4e536a14f 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/selection/SelectionModel.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widget/grid/selection/SelectionModel.java @@ -180,7 +180,7 @@ public interface SelectionModel<T> { /** * Checks whether or not a batch has been started. * - * @return <code>true</code> iff a batch has been started + * @return <code>true</code> if a batch has been started */ public boolean isBeingBatchSelected(); diff --git a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java index 8cf57b54a4..94882e0507 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Escalator.java @@ -1727,7 +1727,7 @@ public class Escalator extends Widget * @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 + * @return <code>true</code> if this the given element, or any of its * descendants, can be frozen */ protected abstract boolean rowCanBeFrozen(TableRowElement tr); @@ -5920,7 +5920,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() { @@ -5932,7 +5932,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() { @@ -6644,7 +6644,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/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java index 469ecb5bba..1fa352faf2 100644 --- a/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java +++ b/compatibility-client/src/main/java/com/vaadin/v7/client/widgets/Grid.java @@ -1525,7 +1525,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(); @@ -7941,7 +7941,7 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>, * * @param row * a row object - * @return <code>true</code> iff the current selection changed + * @return <code>true</code> if the current selection changed * @throws IllegalStateException * if the current selection model is not an instance of * {@link SelectionModel.Single} or {@link SelectionModel.Multi} @@ -7966,7 +7966,7 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>, * * @param row * a row object - * @return <code>true</code> iff the current selection changed + * @return <code>true</code> if the current selection changed * @throws IllegalStateException * if the current selection model is not an instance of * {@link SelectionModel.Single} or {@link SelectionModel.Multi} @@ -7985,7 +7985,7 @@ public class Grid<T> extends ResizeComposite implements HasSelectionHandlers<T>, /** * Deselect all rows using the current selection model. * - * @return <code>true</code> iff the current selection changed + * @return <code>true</code> if the current selection changed * @throws IllegalStateException * if the current selection model is not an instance of * {@link SelectionModel.Single} or {@link SelectionModel.Multi} @@ -9097,7 +9097,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) { |