diff --git a/core/builtins/src/kotlin/Progressions.kt b/core/builtins/src/kotlin/Progressions.kt index 85efeed0949..646d2ca3a5b 100644 --- a/core/builtins/src/kotlin/Progressions.kt +++ b/core/builtins/src/kotlin/Progressions.kt @@ -43,7 +43,7 @@ public open class CharProgression /** * Checks if the progression is empty. - + * * Progression with a positive step is empty if its first element is greater than the last element. * Progression with a negative step is empty if its first element is less than the last element. */ @@ -61,7 +61,7 @@ public open class CharProgression companion object { /** * Creates CharProgression within the specified bounds of a closed range. - + * * The progression starts with the [rangeStart] value and goes toward the [rangeEnd] value not excluding it, with the specified [step]. * In order to go backwards the [step] must be negative. * @@ -105,7 +105,7 @@ public open class IntProgression /** * Checks if the progression is empty. - + * * Progression with a positive step is empty if its first element is greater than the last element. * Progression with a negative step is empty if its first element is less than the last element. */ @@ -123,7 +123,7 @@ public open class IntProgression companion object { /** * Creates IntProgression within the specified bounds of a closed range. - + * * The progression starts with the [rangeStart] value and goes toward the [rangeEnd] value not excluding it, with the specified [step]. * In order to go backwards the [step] must be negative. * @@ -167,7 +167,7 @@ public open class LongProgression /** * Checks if the progression is empty. - + * * Progression with a positive step is empty if its first element is greater than the last element. * Progression with a negative step is empty if its first element is less than the last element. */ @@ -185,7 +185,7 @@ public open class LongProgression companion object { /** * Creates LongProgression within the specified bounds of a closed range. - + * * The progression starts with the [rangeStart] value and goes toward the [rangeEnd] value not excluding it, with the specified [step]. * In order to go backwards the [step] must be negative. * diff --git a/core/builtins/src/kotlin/Range.kt b/core/builtins/src/kotlin/Range.kt index 66f03e97bff..b27931d008d 100644 --- a/core/builtins/src/kotlin/Range.kt +++ b/core/builtins/src/kotlin/Range.kt @@ -27,7 +27,7 @@ public interface ClosedRange> { /** * Checks whether the range is empty. - + * * The range is empty if its start value is greater than the end value. */ public fun isEmpty(): Boolean = start > endInclusive diff --git a/core/builtins/src/kotlin/Ranges.kt b/core/builtins/src/kotlin/Ranges.kt index d9941ae1afa..212df2cbeff 100644 --- a/core/builtins/src/kotlin/Ranges.kt +++ b/core/builtins/src/kotlin/Ranges.kt @@ -18,7 +18,7 @@ public class CharRange(start: Char, endInclusive: Char) : CharProgression(start, /** * Checks whether the range is empty. - + * * The range is empty if its start value is greater than the end value. */ override fun isEmpty(): Boolean = first > last @@ -49,7 +49,7 @@ public class IntRange(start: Int, endInclusive: Int) : IntProgression(start, end /** * Checks whether the range is empty. - + * * The range is empty if its start value is greater than the end value. */ override fun isEmpty(): Boolean = first > last @@ -80,7 +80,7 @@ public class LongRange(start: Long, endInclusive: Long) : LongProgression(start, /** * Checks whether the range is empty. - + * * The range is empty if its start value is greater than the end value. */ override fun isEmpty(): Boolean = first > last diff --git a/generators/builtins/progressions.kt b/generators/builtins/progressions.kt index ec15af478ed..df422619f4d 100644 --- a/generators/builtins/progressions.kt +++ b/generators/builtins/progressions.kt @@ -92,7 +92,7 @@ public open class $progression /** * Checks if the progression is empty. - + * * Progression with a positive step is empty if its first element is greater than the last element. * Progression with a negative step is empty if its first element is less than the last element. */ @@ -109,7 +109,7 @@ public open class $progression companion object { /** * Creates $progression within the specified bounds of a closed range. - + * * The progression starts with the [rangeStart] value and goes toward the [rangeEnd] value not excluding it, with the specified [step]. * In order to go backwards the [step] must be negative. * diff --git a/generators/builtins/ranges.kt b/generators/builtins/ranges.kt index da8c1717f5c..197fddd8458 100644 --- a/generators/builtins/ranges.kt +++ b/generators/builtins/ranges.kt @@ -60,7 +60,7 @@ public class $range(start: $t, endInclusive: $t) : ${t}Progression(start, endInc /** * Checks whether the range is empty. - + * * The range is empty if its start value is greater than the end value. */ override fun isEmpty(): Boolean = first > last