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-server | |
parent | d542679321184eeacaeee7e39cd35755f3af7328 (diff) | |
download | vaadin-framework-1b8d507e5b3b14a57b4527ba1af1c074b99fcca2.tar.gz vaadin-framework-1b8d507e5b3b14a57b4527ba1af1c074b99fcca2.zip |
Replace iff with if in javadoc (#10056)
Diffstat (limited to 'compatibility-server')
8 files changed, 26 insertions, 26 deletions
diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/Collapsible.java b/compatibility-server/src/main/java/com/vaadin/v7/data/Collapsible.java index 8f719c8959..f87a73004f 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/data/Collapsible.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/data/Collapsible.java @@ -74,7 +74,7 @@ public interface Collapsible extends Hierarchical, Ordered { * * @param itemId * The {@link Item}'s identifier that is to be checked. - * @return <code>true</code> iff the {@link Item} identified by + * @return <code>true</code> if the {@link Item} identified by * <code>itemId</code> is currently collapsed, otherwise * <code>false</code>. */ diff --git a/compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java b/compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java index 5371584a31..f91cb783fe 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/data/util/IndexedContainer.java @@ -415,7 +415,7 @@ public class IndexedContainer } /** - * Iff one item is added, gives its index. + * If and only if one item is added, gives its index. * * @return -1 if either multiple items are changed or some other change * than add is done. diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractField.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractField.java index f5867ad0e3..99bc5a1f77 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractField.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractField.java @@ -436,7 +436,7 @@ public abstract class AbstractField<T> extends AbstractLegacyComponent * @param newFieldValue * the New value of the field. * @param repaintIsNotNeeded - * True iff caller is sure that repaint is not needed. + * True if caller is sure that repaint is not needed. * @throws Property.ReadOnlyException * @throws Converter.ConversionException * @throws InvalidValueException @@ -452,9 +452,9 @@ public abstract class AbstractField<T> extends AbstractLegacyComponent * @param newFieldValue * the New value of the field. * @param repaintIsNotNeeded - * True iff caller is sure that repaint is not needed. + * True if caller is sure that repaint is not needed. * @param ignoreReadOnly - * True iff if the read-only check should be ignored + * True if the read-only check should be ignored * @throws Property.ReadOnlyException * @throws Converter.ConversionException * @throws InvalidValueException @@ -996,7 +996,7 @@ public abstract class AbstractField<T> extends AbstractLegacyComponent * Fields allow invalid values by default. In most cases this is wanted, * because the field otherwise visually forget the user input immediately. * - * @return true iff the invalid values are allowed. + * @return true if invalid values are allowed. * @see Validatable#isInvalidAllowed() */ @Override diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractTextField.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractTextField.java index 72e8c6dffb..305859534a 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractTextField.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/AbstractTextField.java @@ -430,7 +430,7 @@ public abstract class AbstractTextField extends AbstractField<String> implements * Fire a "simulated" text change event before value change event if * change is coming from the client side. * - * Iff there is both value change and textChangeEvent in same + * If there are both value change and textChangeEvent in same * variable burst, it is a text field in non immediate mode and the * text change event "flushed" queued value change event. In this * case textChangeEventPending flag is already on and text change diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/CheckBox.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/CheckBox.java index 10703d5bd2..20f388a3fe 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/ui/CheckBox.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/CheckBox.java @@ -201,7 +201,7 @@ public class CheckBox extends AbstractField<Boolean> { /** * Get the boolean value of the button state. * - * @return True iff the button is pressed down or checked. + * @return True if the button is pressed down or checked. * * @deprecated As of 7.0, use {@link #getValue()} instead and, if needed, * handle null values. diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java index 2b480437cf..fdd93f56c4 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/Grid.java @@ -239,7 +239,7 @@ public class Grid extends AbstractComponent * <code>true</code> if the column was hidden, * <code>false</code> if it became visible * @param isUserOriginated - * <code>true</code> iff the event was triggered by an UI + * <code>true</code> if the event was triggered by an UI * interaction */ public ColumnVisibilityChangeEvent(Grid source, Column column, @@ -534,7 +534,7 @@ public class Grid extends AbstractComponent * * @param itemId * the id of the item for which to check details visibility - * @return <code>true</code> iff the details are visible + * @return <code>true</code> if the details are visible */ public boolean isDetailsVisible(Object itemId) { return openDetails.contains(itemId); @@ -1177,7 +1177,7 @@ public class Grid extends AbstractComponent * * @param itemId * the item id to check for - * @return <code>true</code> iff the item is selected + * @return <code>true</code> if the item is selected */ boolean isSelected(Object itemId); @@ -1294,7 +1294,7 @@ public class Grid extends AbstractComponent /** * Marks all the items in the current Container as selected * - * @return <code>true</code> iff some items were previously not + * @return <code>true</code> if some items were previously not * selected * @see #deselectAll() */ @@ -1303,7 +1303,7 @@ public class Grid extends AbstractComponent /** * Marks all the items in the current Container as deselected * - * @return <code>true</code> iff some items were previously selected + * @return <code>true</code> if some items were previously selected * @see #selectAll() */ boolean deselectAll(); @@ -4135,7 +4135,7 @@ public class Grid extends AbstractComponent * * @since 7.5.0 * @param hidable - * <code>true</code> iff the column may be hidable by the + * <code>true</code> if the column may be hidable by the * user via UI interaction * @return this column */ @@ -5872,7 +5872,7 @@ public class Grid extends AbstractComponent * * @param itemId * the item id to check for - * @return <code>true</code> iff the item is selected + * @return <code>true</code> if the item is selected */ // keep this javadoc in sync with SelectionModel.isSelected public boolean isSelected(Object itemId) { @@ -6963,7 +6963,7 @@ public class Grid extends AbstractComponent /** * Checks whether the item editor UI is enabled for this grid. * - * @return <code>true</code> iff the editor is enabled for this grid + * @return <code>true</code> if the editor is enabled for this grid * * @see #setEditorEnabled(boolean) * @see #getEditedItemId() @@ -7012,7 +7012,7 @@ public class Grid extends AbstractComponent /** * Returns whether an item is currently being edited in the editor. * - * @return true iff the editor is open + * @return true if the editor is open */ public boolean isEditorActive() { return editorActive; @@ -7480,7 +7480,7 @@ public class Grid extends AbstractComponent * @since 7.5.0 * @param itemId * the id of the item for which to check details visibility - * @return <code>true</code> iff the details are visible + * @return <code>true</code> if the details are visible */ public boolean isDetailsVisible(Object itemId) { return detailComponentManager.isDetailsVisible(itemId); diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/Table.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/Table.java index 65613d00cc..ee38b2bcb3 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/ui/Table.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/Table.java @@ -4943,10 +4943,10 @@ public class Table extends AbstractSelect implements Action.Container, /** * Is sorting disabled altogether. * - * True iff no sortable columns are given even in the case where data source + * True if no sortable columns are given even in the case where data source * would support this. * - * @return True iff sorting is disabled. + * @return True if sorting is disabled. * @deprecated As of 7.0, use {@link #isSortEnabled()} instead */ @Deprecated @@ -4967,7 +4967,7 @@ public class Table extends AbstractSelect implements Action.Container, * Disables the sorting by the user altogether. * * @param sortDisabled - * True iff sorting is disabled. + * True if sorting is disabled. * @deprecated As of 7.0, use {@link #setSortEnabled(boolean)} instead */ @Deprecated diff --git a/compatibility-server/src/main/java/com/vaadin/v7/ui/Tree.java b/compatibility-server/src/main/java/com/vaadin/v7/ui/Tree.java index a6e13f73c7..ccf4d6e460 100644 --- a/compatibility-server/src/main/java/com/vaadin/v7/ui/Tree.java +++ b/compatibility-server/src/main/java/com/vaadin/v7/ui/Tree.java @@ -295,7 +295,7 @@ public class Tree extends AbstractSelect implements Container.Hierarchical, * * @param itemId * the item id. - * @return true iff the item is expanded. + * @return true if the item is expanded. */ public boolean isExpanded(Object itemId) { return expanded.contains(itemId); @@ -306,7 +306,7 @@ public class Tree extends AbstractSelect implements Container.Hierarchical, * * @param itemId * the item id. - * @return True iff the expand operation succeeded + * @return True if the expand operation succeeded */ public boolean expandItem(Object itemId) { boolean success = expandItem(itemId, true); @@ -368,7 +368,7 @@ public class Tree extends AbstractSelect implements Container.Hierarchical, * succeeds only if all expandable items are expanded. * * @param startItemId - * @return True iff the expand operation succeeded + * @return True if the expand operation succeeded */ public boolean expandItemsRecursively(Object startItemId) { @@ -397,7 +397,7 @@ public class Tree extends AbstractSelect implements Container.Hierarchical, * * @param itemId * the item id. - * @return True iff the collapse operation succeeded + * @return True if the collapse operation succeeded */ public boolean collapseItem(Object itemId) { @@ -421,7 +421,7 @@ public class Tree extends AbstractSelect implements Container.Hierarchical, * succeeds only if all expandable items are collapsed. * * @param startItemId - * @return True iff the collapse operation succeeded + * @return True if the collapse operation succeeded */ public boolean collapseItemsRecursively(Object startItemId) { |