Skip to content

Commit

Permalink
remove leftover debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Feb 7, 2024
1 parent 95442b2 commit e49e0c2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Sources/RangeState/ThreePhaseRangeValidator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,12 @@ public final class ThreePhaseRangeValidator<Content: VersionedContent> {

/// Manually mark a region as invalid.
public func invalidate(_ target: RangeTarget) {
print("invalidated: ", target)
primaryValidator.invalidate(target)
fallbackValidator.invalidate(target)
secondaryValidator?.invalidate(target)
}

public func validate(_ target: RangeTarget, prioritizing range: NSRange? = nil) {
print("validate")
let action = primaryValidator.validate(target, prioritizing: range)

switch action {
Expand Down Expand Up @@ -136,8 +134,6 @@ extension ThreePhaseRangeValidator {
let target = RangeTarget.range(range)
let priorityRange = configuration.priorityRangeProvider?() ?? range

print("handler invalidated: ", target)

fallbackValidator.invalidate(target)
secondaryValidator?.invalidate(target)

Expand Down

0 comments on commit e49e0c2

Please sign in to comment.