From 1b8d507e5b3b14a57b4527ba1af1c074b99fcca2 Mon Sep 17 00:00:00 2001 From: Ahmed Ashour Date: Fri, 22 Sep 2017 06:57:35 +0200 Subject: Replace iff with if in javadoc (#10056) --- shared/src/main/java/com/vaadin/shared/Range.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'shared/src') 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 true iff the range contains no elements. + * @return true 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 true iff integer is in this range + * @return true if integer 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 true iff other completely wraps this + * @return true if other 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 true iff this range starts before the + * @return true if this range starts before the * other */ 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 true iff this range ends before the + * @return true if this range ends before the * other */ 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 true iff this range ends after the + * @return true if this range ends after the * other */ 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 true iff this range starts after the + * @return true if this range starts after the * other */ public boolean startsAfter(final Range other) { -- cgit v1.2.3