Skip to content

Commit ba803a8

Browse files
committed
feat(s3): Add license information to S3FileSystemFactory and clean up imports in S3Storage
1 parent 2563650 commit ba803a8

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

src/main/java/dev/themeinerlp/bluemap/s3/storage/S3FileSystemFactory.java

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,27 @@
1+
/**
2+
* A simple storage implementation for bluemap to save data into s3 storage solution.
3+
* Copyright (C) 2025 TheMeinerLP and contributors
4+
* <p>
5+
* This program is free software: you can redistribute it and/or modify
6+
* it under the terms of the GNU Affero General Public License as published by
7+
* the Free Software Foundation, either version 3 of the License, or
8+
* (at your option) any later version.
9+
* <p>
10+
* This program is distributed in the hope that it will be useful,
11+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
* GNU Affero General Public License for more details.
14+
* <p>
15+
* You should have received a copy of the GNU Affero General Public License
16+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
17+
*/
118
package dev.themeinerlp.bluemap.s3.storage;
219

3-
import software.amazon.nio.spi.s3.S3FileSystemProvider;
4-
import software.amazon.nio.spi.s3.S3XFileSystemProvider;
5-
620
import java.net.URI;
721
import java.nio.file.FileSystem;
822
import java.util.Objects;
23+
import software.amazon.nio.spi.s3.S3FileSystemProvider;
24+
import software.amazon.nio.spi.s3.S3XFileSystemProvider;
925

1026
final class S3FileSystemFactory {
1127

src/main/java/dev/themeinerlp/bluemap/s3/storage/S3Storage.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import de.bluecolored.bluemap.core.storage.Storage;
2424
import de.bluecolored.bluemap.core.storage.compression.Compression;
2525
import de.bluecolored.bluemap.core.storage.file.FileMapStorage;
26-
2726
import java.io.IOException;
2827
import java.nio.file.FileSystem;
2928
import java.nio.file.Files;

0 commit comments

Comments
 (0)