File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/java/org/folio/dew/repository
test/java/org/folio/dew/repository Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public abstract class AbstractFilesStorage implements FolioS3Client {
3232
3333 private final MinioClientProperties properties ;
3434
35- public AbstractFilesStorage (MinioClientProperties properties ) {
35+ protected AbstractFilesStorage (MinioClientProperties properties ) {
3636 this .client = S3ClientFactory .getS3Client (properties .toS3ClientProperties ());
3737 this .properties = properties ;
3838
Original file line number Diff line number Diff line change @@ -130,8 +130,8 @@ void testWriteReadPatchDelete(int size) throws IOException {
130130 void testNonExistingFileOperations () {
131131 assertThrows (IOException .class , () -> localFilesStorage .readAllLines (NON_EXISTING_PATH ));
132132 assertThrows (S3ClientException .class , () -> {
133- try (var is = localFilesStorage .read (NON_EXISTING_PATH )){
134- log . info ( "InputStream setup" );
133+ try (var is = localFilesStorage .read (NON_EXISTING_PATH )) {
134+ // should fail
135135 }
136136 });
137137
You can’t perform that action at this time.
0 commit comments