Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
chore: spotless apply ✨
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu committed Apr 29, 2022
1 parent 34d56a7 commit ba1f754
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions support-s3/src/main/kotlin/org/noelware/remi/s3/S3StorageTrailer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,11 @@ import org.noelware.remi.s3.serializers.BucketCannedACLSerializer
import org.noelware.remi.s3.serializers.ObjectCannedACLSerializer
import software.amazon.awssdk.auth.credentials.AwsCredentials
import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider
import software.amazon.awssdk.auth.credentials.SystemPropertyCredentialsProvider
import software.amazon.awssdk.core.sync.RequestBody
import software.amazon.awssdk.core.sync.ResponseTransformer
import software.amazon.awssdk.regions.Region
import software.amazon.awssdk.services.s3.S3Client
import software.amazon.awssdk.services.s3.model.BucketCannedACL
import software.amazon.awssdk.services.s3.model.ListObjectsRequest
import software.amazon.awssdk.services.s3.model.ListObjectsV2Request
import software.amazon.awssdk.services.s3.model.ObjectCannedACL
import software.amazon.awssdk.services.s3.model.S3Exception
Expand Down Expand Up @@ -271,14 +269,16 @@ class S3StorageTrailer(override val config: S3StorageConfig): StorageTrailer<S3S
val isDir = content.key().split("").last() == "/"
if (isDir) continue

list.add(org.noelware.remi.core.Object(
CHECK_WITH,
null,
content.lastModified().toKotlinInstant().toLocalDateTime(TimeZone.currentSystemDefault()),
null,
content.size(),
content.key()
))
list.add(
org.noelware.remi.core.Object(
CHECK_WITH,
null,
content.lastModified().toKotlinInstant().toLocalDateTime(TimeZone.currentSystemDefault()),
null,
content.size(),
content.key()
)
)
}

if (objects.nextContinuationToken() == null) {
Expand Down

0 comments on commit ba1f754

Please sign in to comment.