Skip to content

Commit fb0522a

Browse files
authored
Merge pull request #56 from Whathecode/develop
Release 1.0.1 (with fixed history)
2 parents fe9b652 + 28904cf commit fb0522a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (publishPropertiesFile.exists()) {
2121
publishProperties.load(java.io.FileInputStream(publishPropertiesFile))
2222
}
2323
group = "io.github.whathecode.kotlinx.interval"
24-
version = "1.0.0"
24+
version = "1.0.1"
2525
nexusPublishing {
2626
repositories {
2727
sonatype {

kotlinx.interval/src/commonMain/kotlin/Interval.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ open class Interval<T : Comparable<T>, TSize : Comparable<TSize>>(
134134

135135
// If the interval to subtract ends before the end of this interval, add the remaining upper bound chunk.
136136
val upperCompare: Int = upperBound.compareTo( toSubtract.upperBound )
137-
if ( upperCompare > 0 || ( upperCompare == 0 && isUpperBoundIncluded && !toSubtract.isEndIncluded ) )
137+
if ( upperCompare > 0 || ( upperCompare == 0 && isUpperBoundIncluded && !toSubtract.isUpperBoundIncluded ) )
138138
{
139139
val upperBoundRemnant = Interval(
140140
toSubtract.upperBound, !toSubtract.isUpperBoundIncluded,

0 commit comments

Comments
 (0)