Skip to content

Commit

Permalink
Fix formatting and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiotudone-da committed Oct 19, 2021
1 parent 4987d12 commit cfa6a7e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ package com.daml.ledger.indexerbenchmark

import java.nio.file.{Files, Paths}
import java.util.concurrent.atomic.AtomicLong

import akka.NotUsed
import akka.actor.ActorSystem
import akka.stream.Materializer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ object KeyValueConsumption {
entry: DamlLogEntry,
errorVersionSwitch: ValueSwitch[Status],
recordTimeForUpdate: Option[Timestamp] = None,
)(implicit
loggingContext: LoggingContext
): List[Update] = {
)(implicit loggingContext: LoggingContext): List[Update] = {
val recordTimeFromLogEntry = PartialFunction.condOpt(entry.hasRecordTime) { case true =>
parseTimestamp(entry.getRecordTime)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

package com.daml.ledger.participant.state.kvutils.api

import java.util.concurrent.CompletionStage

import akka.NotUsed
import akka.stream.scaladsl.Source
import com.daml.daml_lf_dev.DamlLf
Expand All @@ -24,8 +26,6 @@ import com.daml.logging.LoggingContext
import com.daml.metrics.Metrics
import com.daml.telemetry.TelemetryContext

import java.util.concurrent.CompletionStage

/** Implements read and write operations required for running a participant server.
*
* Adapts [[LedgerReader]] and [[LedgerWriter]] interfaces to [[com.daml.ledger.participant.state.v2.ReadService]] and
Expand Down

0 comments on commit cfa6a7e

Please sign in to comment.