Skip to content

Commit

Permalink
Merge pull request #544 from mkurz/update/dropJava8/scalafmt-core-2.7.5
Browse files Browse the repository at this point in the history
scalafmt core 2.7.5
  • Loading branch information
mkurz authored Sep 18, 2023
2 parents bf2fb12 + 4d0f607 commit 07d3c44
Show file tree
Hide file tree
Showing 36 changed files with 552 additions and 419 deletions.
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Scala Steward: Reformat with scalafmt 2.7.5
539a316047a1b66c39084d7dfa982fb565ba21dc
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ rewrite.rules = [ AvoidInfix, ExpandImportSelectors, RedundantParens, SortModifi
rewrite.sortModifiers.order = [ "private", "protected", "final", "sealed", "abstract", "implicit", "override", "lazy" ]
spaces.inImportCurlyBraces = true # more idiomatic to include whitepsace in import x.{ yyy }
trailingCommas = always
version = 2.6.4
version = 2.7.5
6 changes: 3 additions & 3 deletions app/actors/Actors.scala
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ class ActorsModule extends AbstractModule with AkkaGuiceSupport {
}

@Singleton
class DocumentationPollingActorFactoryProvider @Inject()(messages: MessagesApi)
class DocumentationPollingActorFactoryProvider @Inject() (messages: MessagesApi)
extends Provider[DocumentationPollingActor.Factory] {
def get() = DocumentationPollingActor(messages, _, _)
}

@Singleton
class DocumentationRedirectsProvider @Inject()(configuration: Configuration)
class DocumentationRedirectsProvider @Inject() (configuration: Configuration)
extends Provider[DocumentationRedirects] {
override def get: DocumentationRedirects = DocumentationRedirects(
configuration.get[Seq[Config]]("documentation.redirects").map { config =>
Expand All @@ -44,7 +44,7 @@ class DocumentationRedirectsProvider @Inject()(configuration: Configuration)
}

@Singleton
class DocumentationConfigProvider @Inject()(environment: Environment, configuration: Configuration)
class DocumentationConfigProvider @Inject() (environment: Environment, configuration: Configuration)
extends Provider[DocumentationConfig] {
private val log = LoggerFactory.getLogger(classOf[DocumentationConfigProvider])

Expand Down
Loading

0 comments on commit 07d3c44

Please sign in to comment.