Skip to content

Commit

Permalink
EVA-CLEANUP remove deprecated method (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rattenkrieg committed Jan 23, 2024
1 parent 4f64b24 commit dc82f3f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 46 deletions.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/CI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import java.lang.Boolean.parseBoolean
object Ci {

private const val SNAPSHOT_BASE = "0.6.0"
private const val RELEASE_VERSION = "0.5.7"
private const val RELEASE_VERSION = "0.5.8"
private val githubSha = System.getenv("GITHUB_SHA") ?: "latest"

val publishRelease = System.getProperty("release", "true").let(::parseBoolean)
Expand Down
7 changes: 0 additions & 7 deletions eva-domain/src/main/kotlin/com/razz/eva/domain/Model.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,3 @@ abstract class Model<ID : ModelId<out Comparable<*>>, E : ModelEvent<ID>>(

protected fun entityState(): EntityState<ID, E> = entityState
}

inline fun <reified M : Model<*, *>, T> M.changeIfPresent(
value: T?,
update: M.(T) -> M
): M {
return value?.let { update(it) } ?: this
}

This file was deleted.

0 comments on commit dc82f3f

Please sign in to comment.