Skip to content

Commit

Permalink
Refactor for java8 compatibility (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianfilip authored Nov 3, 2022
1 parent 8e28eec commit cc802b3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ final case class LiveS3Connector(s3: S3) extends S3Connector {
CopyObjectRequest(
destinationBucket = AwsBucketName(m.targetBucketName),
destinationKey = AwsObjectKey(m.targetObjectKey),
copySource = CopySource(URLEncoder.encode(s"${m.bucketName}/${m.objectKey}", StandardCharsets.UTF_8))
copySource =
CopySource(URLEncoder.encode(s"${m.bucketName}/${m.objectKey}", StandardCharsets.UTF_8.toString))
)
) *> s3.deleteObject(
DeleteObjectRequest(
Expand Down

0 comments on commit cc802b3

Please sign in to comment.