Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
froks authored Jan 25, 2022
1 parent 4facada commit f614926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doip-sim-ecu-dsl/src/main/kotlin/SimEcu.kt
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class SimEcu(private val data: EcuData) : StandardEcu(data.toEcuConfig()) {
logger.traceIf { "Adding interceptor '$name' for $duration"}

// expires at expirationTime
val expirationTime = if (Duration == Duration.INFINITE) Long.MAX_VALUE else System.nanoTime() + duration.inWholeNanoseconds
val expirationTime = if (duration == Duration.INFINITE) Long.MAX_VALUE else System.nanoTime() + duration.inWholeNanoseconds

interceptors[name] = InterceptorData(
name = name,
Expand Down

0 comments on commit f614926

Please sign in to comment.