Skip to content

Commit

Permalink
feat: Change the scope of the Trip components
Browse files Browse the repository at this point in the history
  • Loading branch information
tzebrowski committed Aug 26, 2023
1 parent aa0d506 commit 05afe1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import org.obd.graphs.cacheManager

private const val CACHE_TRIP_PROPERTY_NAME = "cache.trip.current"

class TripCache {
internal class TripCache {

init {
val trip = Trip(startTs = System.currentTimeMillis(), entries = mutableMapOf())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import java.io.IOException

private val EMPTY_CONNECTOR_RESPONSE = ConnectorResponseFactory.wrap(byteArrayOf())

private class ConnectorResponseSerializer() :
private class ConnectorResponseSerializer:
StdSerializer<ConnectorResponse>(ConnectorResponse::class.java) {

@Throws(IOException::class)
Expand All @@ -29,7 +29,7 @@ private class ConnectorResponseSerializer() :
}
}

private class NopeConnectorResponseSerializer() :
private class NopeConnectorResponseSerializer:
StdSerializer<ConnectorResponse>(ConnectorResponse::class.java) {

@Throws(IOException::class)
Expand All @@ -50,7 +50,7 @@ private class ConnectorResponseDeserializer() :
}
}

class TripModelSerializer {
internal class TripModelSerializer {

val serializer: ObjectMapper by lazy { serializer() }
val deserializer: ObjectMapper by lazy { deserializer() }
Expand Down

0 comments on commit 05afe1f

Please sign in to comment.