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 /shared/src | |
parent | d542679321184eeacaeee7e39cd35755f3af7328 (diff) | |
download | vaadin-framework-1b8d507e5b3b14a57b4527ba1af1c074b99fcca2.tar.gz vaadin-framework-1b8d507e5b3b14a57b4527ba1af1c074b99fcca2.zip |
Replace iff with if in javadoc (#10056)
Diffstat (limited to 'shared/src')
-rw-r--r-- | shared/src/main/java/com/vaadin/shared/Range.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/shared/src/main/java/com/vaadin/shared/Range.java b/shared/src/main/java/com/vaadin/shared/Range.java index 3f670ca28c..042cc527a0 100644 --- a/shared/src/main/java/com/vaadin/shared/Range.java +++ b/shared/src/main/java/com/vaadin/shared/Range.java @@ -141,7 +141,7 @@ public final class Range implements Serializable { /** * Checks whether the range has no elements between the start and end. * - * @return <code>true</code> iff the range contains no elements. + * @return <code>true</code> if the range contains no elements. */ public boolean isEmpty() { return getStart() >= getEnd(); @@ -164,7 +164,7 @@ public final class Range implements Serializable { * * @param integer * an integer to test for presence in this range - * @return <code>true</code> iff <code>integer</code> is in this range + * @return <code>true</code> if <code>integer</code> is in this range */ public boolean contains(final int integer) { return getStart() <= integer && integer < getEnd(); @@ -173,7 +173,7 @@ public final class Range implements Serializable { /** * Checks whether this range is a subset of another range. * - * @return <code>true</code> iff <code>other</code> completely wraps this + * @return <code>true</code> if <code>other</code> completely wraps this * range */ public boolean isSubsetOf(final Range other) { @@ -267,7 +267,7 @@ public final class Range implements Serializable { * * @param other * the other range to compare against - * @return <code>true</code> iff this range starts before the + * @return <code>true</code> if this range starts before the * <code>other</code> */ public boolean startsBefore(final Range other) { @@ -279,7 +279,7 @@ public final class Range implements Serializable { * * @param other * the other range to compare against - * @return <code>true</code> iff this range ends before the + * @return <code>true</code> if this range ends before the * <code>other</code> */ public boolean endsBefore(final Range other) { @@ -291,7 +291,7 @@ public final class Range implements Serializable { * * @param other * the other range to compare against - * @return <code>true</code> iff this range ends after the + * @return <code>true</code> if this range ends after the * <code>other</code> */ public boolean endsAfter(final Range other) { @@ -303,7 +303,7 @@ public final class Range implements Serializable { * * @param other * the other range to compare against - * @return <code>true</code> iff this range starts after the + * @return <code>true</code> if this range starts after the * <code>other</code> */ public boolean startsAfter(final Range other) { |