Skip to content

Commit

Permalink
Correct spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
dgault committed May 1, 2024
1 parent 6944b02 commit f28dab4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/loci/formats/S3FileSystemStore.java
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public class S3FileSystemStore implements Store {

private Path root;
AmazonS3 client;
public static final String ENDPPOINT_PROTOCOL= "https://";
public static final String ENDPOINT_PROTOCOL= "https://";
protected static final Logger LOGGER =
LoggerFactory.getLogger(S3FileSystemStore.class);

Expand All @@ -98,7 +98,7 @@ public String getRoot() {

private void setupClient() {
String[] pathSplit = root.toString().split(File.separator);
String endpoint = ENDPPOINT_PROTOCOL + pathSplit[1] + File.separator;
String endpoint = ENDPOINT_PROTOCOL + pathSplit[1] + File.separator;
try {
client = AmazonS3ClientBuilder.standard()
.withEndpointConfiguration(new AwsClientBuilder.EndpointConfiguration(endpoint, "auto"))
Expand Down
2 changes: 1 addition & 1 deletion src/loci/formats/services/JZarrServiceImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public JZarrServiceImpl(String root) {
checkClassDependency(com.bc.zarr.ZarrArray.class);
if (root != null && (root.toLowerCase().contains("s3:") || root.toLowerCase().contains("s3."))) {
String[] pathSplit = root.toString().split(File.separator);
if (!S3FileSystemStore.ENDPPOINT_PROTOCOL.contains(pathSplit[0].toLowerCase())) {
if (!S3FileSystemStore.ENDPOINT_PROTOCOL.contains(pathSplit[0].toLowerCase())) {
s3fs = new S3FileSystemStore(Paths.get(root));
}
else {
Expand Down

0 comments on commit f28dab4

Please sign in to comment.