Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Peter Vlugter <[email protected]>
  • Loading branch information
patriknw and pvlugter authored Jan 8, 2025
1 parent 649ec8e commit d4d07a2
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ final class R2dbcProjectionSettings private (
val timeWindow: JDuration,
val backtrackingWindow: JDuration,
val deleteAfter: JDuration,
@deprecated("Not used, evict is only based on time window", "1.6.3")
@deprecated("Not used, evict is only based on time window", "1.6.6")
val keepNumberOfEntries: Int,
@deprecated("Not used, evict is not periodic", "1.6.2")
@deprecated("Not used, evict is not periodic", "1.6.6")
val evictInterval: JDuration,
val deleteInterval: JDuration,
val adoptInterval: JDuration,
Expand Down Expand Up @@ -153,15 +153,15 @@ final class R2dbcProjectionSettings private (
def withDeleteAfter(deleteAfter: JDuration): R2dbcProjectionSettings =
copy(deleteAfter = deleteAfter)

@deprecated("Not used, evict is only based on time window", "1.6.2")
@deprecated("Not used, evict is only based on time window", "1.6.6")
def withKeepNumberOfEntries(keepNumberOfEntries: Int): R2dbcProjectionSettings =
this

@deprecated("Not used, evict is not periodic", "1.6.2")
@deprecated("Not used, evict is not periodic", "1.6.6")
def withEvictInterval(evictInterval: FiniteDuration): R2dbcProjectionSettings =
this

@deprecated("Not used, evict is not periodic", "1.6.2")
@deprecated("Not used, evict is not periodic", "1.6.6")
def withEvictInterval(evictInterval: JDuration): R2dbcProjectionSettings =
this

Expand Down

0 comments on commit d4d07a2

Please sign in to comment.