Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Scala Steward: Reformat with scalafmt 3.8.6
b7fb75663f3597a2f5cc94de4e4169af19e22a35

# Scala Steward: Reformat with scalafmt 3.10.7
7f391e97b525def479f2fd5bb0814339c08ea78c
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 3.8.6
version = 3.10.7
runner.dialect = Scala213Source3

newlines.alwaysBeforeElseAfterCurlyIf = false
Expand Down
3 changes: 2 additions & 1 deletion google/src/main/scala/GoogleVersionedObjectRef.scala
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ final class GoogleVersionedObjectRef(
.objects()
.delete(bucket, name)
.setGeneration(generation)
.execute(); ()
.execute();
()
}
val result = rawResult.recoverWith(
ErrorHandler.ofVersionToFuture(
Expand Down
2 changes: 1 addition & 1 deletion s3/src/main/scala/SignatureCalculatorV1.scala
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ private[s3] class SignatureCalculatorV1(

style match {
case PathRequest => path
case _ => {
case _ => {
val requestHost = url.getHost
val canonicalHost = host.split(':').headOption.getOrElse(host)
val suffix = s".$canonicalHost"
Expand Down
2 changes: 1 addition & 1 deletion s3/src/main/scala/WSS3BucketRef.scala
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ private[s3] object WSS3BucketRef {

whenEmpty match {
case Some(throwable) if parsed.isEmpty => Source.failed[T](throwable)
case _ =>
case _ =>
def currentPage = Source(parsed)

parsed.lastOption.map(marker) match {
Expand Down
2 changes: 1 addition & 1 deletion s3/src/main/scala/WSS3ObjectRef.scala
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ final class WSS3ObjectRef private[s3] (
source.foreach {
case '/' => encoded.append('/')
case c if isUnreserved(c) => encoded.append(c)
case c =>
case c =>
val bytes = c.toString.getBytes(java.nio.charset.StandardCharsets.UTF_8)
bytes.foreach { b =>
encoded.append('%')
Expand Down