Skip to content

Commit

Permalink
fix: delete property filter set correctly in deleteBackingFile
Browse files Browse the repository at this point in the history
  • Loading branch information
Z-Kris committed Aug 1, 2024
1 parent 12c33b9 commit fac35e5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class DefaultPropertyFilterSet(
}

override fun deleteBackingFile() {
path.deleteIfExists()
path.resolve("filters-$creationTime.txt").deleteIfExists()
}

override fun get(filter: PropertyFilter): Boolean {
Expand Down Expand Up @@ -137,7 +137,7 @@ public class DefaultPropertyFilterSet(
var version: Int = -1
var name: String? = null
var creationTime: Long = 0
var active: Boolean = false
var active = false
val properties: MutableMap<String, Boolean> = mutableMapOf()
for (line in text.lineSequence()) {
if (line.startsWith("version=")) {
Expand Down

0 comments on commit fac35e5

Please sign in to comment.