Skip to content

Commit 10d7607

Browse files
committed
sort again
1 parent 73ef203 commit 10d7607

File tree

10 files changed

+17
-8
lines changed

10 files changed

+17
-8
lines changed

http-caching/src/main/scala/org/apache/pekko/http/caching/javadsl/LfuCacheSettings.scala

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@
1313

1414
package org.apache.pekko.http.caching.javadsl
1515

16+
import scala.concurrent.duration.Duration
17+
import scala.jdk.DurationConverters._
18+
1619
import org.apache.pekko
1720
import pekko.annotation.DoNotInherit
1821
import pekko.http.caching.impl.settings.LfuCachingSettingsImpl
1922
import pekko.http.javadsl.settings.SettingsCompanion
20-
import com.typesafe.config.Config
2123

22-
import scala.concurrent.duration.Duration
23-
import scala.jdk.DurationConverters._
24+
import com.typesafe.config.Config
2425

2526
/**
2627
* Public API but not intended for subclassing

http-tests/src/test/scala/org/apache/pekko/http/scaladsl/settings/OversizedSseStrategySpec.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ package scaladsl
1212
package settings
1313

1414
import org.apache.pekko.http.scaladsl.settings.OversizedSseStrategy
15+
1516
import org.scalatest.matchers.should.Matchers
1617
import org.scalatest.wordspec.AnyWordSpec
1718

http-tests/src/test/scala/org/apache/pekko/http/scaladsl/unmarshalling/sse/EventStreamParserOversizedSpec.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import pekko.http.scaladsl.model.sse.ServerSentEvent
1717
import pekko.http.scaladsl.settings.OversizedSseStrategy
1818
import pekko.stream.scaladsl.{ Sink, Source }
1919
import pekko.util.ByteString
20+
2021
import org.scalatest.matchers.should.Matchers
2122
import org.scalatest.wordspec.AsyncWordSpec
2223

http-tests/src/test/scala/org/apache/pekko/http/scaladsl/unmarshalling/sse/EventStreamUnmarshallingSimpleSpec.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,19 @@ package scaladsl
1212
package unmarshalling
1313
package sse
1414

15+
import scala.concurrent.ExecutionContext
16+
1517
import org.apache.pekko
1618
import pekko.NotUsed
1719
import pekko.http.scaladsl.model.HttpEntity
1820
import pekko.http.scaladsl.model.MediaTypes.`text/event-stream`
1921
import pekko.http.scaladsl.model.sse.ServerSentEvent
2022
import pekko.http.scaladsl.settings.{ OversizedSseStrategy, ServerSentEventSettings }
2123
import pekko.stream.scaladsl.{ Sink, Source }
24+
2225
import org.scalatest.matchers.should.Matchers
2326
import org.scalatest.wordspec.AsyncWordSpec
2427

25-
import scala.concurrent.ExecutionContext
26-
2728
final class EventStreamUnmarshallingSimpleSpec extends AsyncWordSpec with Matchers with BaseUnmarshallingSpec {
2829
implicit val ec: ExecutionContext = system.dispatcher
2930
implicit val mat: pekko.stream.Materializer = pekko.stream.SystemMaterializer(system).materializer

http-tests/src/test/scala/org/apache/pekko/http/scaladsl/unmarshalling/sse/LineParserEdgeCasesSpec.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import org.apache.pekko
1616
import pekko.http.scaladsl.settings.OversizedSseStrategy
1717
import pekko.stream.scaladsl.{ Sink, Source }
1818
import pekko.util.ByteString
19+
1920
import org.scalatest.matchers.should.Matchers
2021
import org.scalatest.wordspec.AsyncWordSpec
2122

http-tests/src/test/scala/org/apache/pekko/http/scaladsl/unmarshalling/sse/LineParserOversizedSimpleSpec.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import org.apache.pekko
1616
import pekko.http.scaladsl.settings.OversizedSseStrategy
1717
import pekko.stream.scaladsl.{ Sink, Source }
1818
import pekko.util.ByteString
19+
1920
import org.scalatest.matchers.should.Matchers
2021
import org.scalatest.wordspec.AsyncWordSpec
2122

http/src/main/scala/org/apache/pekko/http/impl/settings/ServerSentEventSettingsImpl.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import org.apache.pekko
1717
import pekko.annotation.InternalApi
1818
import pekko.http.impl.util.SettingsCompanionImpl
1919
import pekko.http.scaladsl.settings.OversizedSseStrategy
20+
2021
import com.typesafe.config.Config
2122

2223
@InternalApi

http/src/main/scala/org/apache/pekko/http/javadsl/settings/ServerSentEventSettings.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import pekko.actor.ActorSystem
1818
import pekko.annotation.{ ApiMayChange, DoNotInherit }
1919
import pekko.http.impl.settings.ServerSentEventSettingsImpl
2020
import pekko.http.scaladsl.settings.{ OversizedSseStrategy => ScalaOversizedSseStrategy }
21+
2122
import com.typesafe.config.Config
2223

2324
/**

http/src/main/scala/org/apache/pekko/http/scaladsl/unmarshalling/sse/LineParser.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@ package scaladsl
1616
package unmarshalling
1717
package sse
1818

19+
import scala.annotation.tailrec
20+
1921
import org.apache.pekko
2022
import pekko.annotation.InternalApi
2123
import pekko.event.Logging
2224
import pekko.http.scaladsl.settings.OversizedSseStrategy
23-
import pekko.stream.stage.{ GraphStage, GraphStageLogic, InHandler, OutHandler }
2425
import pekko.stream.{ Attributes, FlowShape, Inlet, Outlet }
26+
import pekko.stream.stage.{ GraphStage, GraphStageLogic, InHandler, OutHandler }
2527
import pekko.util.ByteString
26-
import scala.annotation.tailrec
2728

2829
/** INTERNAL API */
2930
@InternalApi

http/src/main/scala/org/apache/pekko/http/scaladsl/unmarshalling/sse/ServerSentEventParser.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import pekko.annotation.InternalApi
2121
import pekko.event.Logging
2222
import pekko.http.scaladsl.model.sse.ServerSentEvent
2323
import pekko.http.scaladsl.settings.OversizedSseStrategy
24-
import pekko.stream.stage.{ GraphStage, GraphStageLogic, InHandler, OutHandler }
2524
import pekko.stream.{ Attributes, FlowShape, Inlet, Outlet }
25+
import pekko.stream.stage.{ GraphStage, GraphStageLogic, InHandler, OutHandler }
2626

2727
/** INTERNAL API */
2828
@InternalApi

0 commit comments

Comments
 (0)