Skip to content

Commit

Permalink
fix prettier formatting which got overridden by idea during commit
Browse files Browse the repository at this point in the history
  • Loading branch information
esuomi committed Oct 14, 2024
1 parent 62b8193 commit fb5909b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 19 deletions.
11 changes: 5 additions & 6 deletions src/main/java/no/entur/uttu/export/ExportService.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@

package no.entur.uttu.export;

import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import no.entur.uttu.error.codedexception.CodedIllegalArgumentException;
import no.entur.uttu.export.linestatistics.ExportedLineStatisticsService;
import no.entur.uttu.export.messaging.spi.MessagingService;
Expand All @@ -33,12 +38,6 @@
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.io.ByteArrayInputStream;
import java.io.InputStream;
import java.util.List;
import java.util.Map;
import java.util.Optional;

@Component
public class ExportService {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
package no.entur.uttu.export.blob;

import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.function.Function;
import org.rutebanken.helper.storage.BlobAlreadyExistsException;
import org.rutebanken.helper.storage.BlobStoreException;
import org.rutebanken.helper.storage.model.BlobDescriptor;
Expand All @@ -13,14 +20,6 @@
import software.amazon.awssdk.services.s3.model.S3Object;
import software.amazon.awssdk.services.s3.paginators.ListObjectsV2Iterable;

import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import java.util.function.Function;

/**
* <a href="https://aws.amazon.com/s3/">AWS S3</a> backed implementation of {@link BlobStoreRepository}.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package no.entur.uttu.export.blob;

import java.io.ByteArrayInputStream;
import java.nio.charset.StandardCharsets;
import java.util.Map;
import java.util.Optional;
import no.entur.uttu.UttuIntegrationTest;
import org.jetbrains.annotations.NotNull;
import org.junit.Assert;
Expand All @@ -22,11 +26,6 @@
import software.amazon.awssdk.services.s3.model.NoSuchBucketException;
import software.amazon.awssdk.services.s3.model.NoSuchKeyException;

import java.io.ByteArrayInputStream;
import java.nio.charset.StandardCharsets;
import java.util.Map;
import java.util.Optional;

@Testcontainers
@ActiveProfiles({ "s3-blobstore" })
public class S3BlobStoreRepositoryTest extends UttuIntegrationTest {
Expand Down

0 comments on commit fb5909b

Please sign in to comment.