Skip to content

Commit

Permalink
autolint
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-maynard committed Mar 3, 2025
1 parent 8d3c29d commit f18df3b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import jakarta.annotation.Nullable;
import java.util.ArrayList;
import java.util.List;

import org.apache.polaris.core.context.CallContext;
import org.apache.polaris.core.entity.CatalogEntity;

Expand Down Expand Up @@ -128,9 +127,7 @@ public interface PolarisConfigurationStore {
return callContext
.getPolarisCallContext()
.getConfigurationStore()
.getConfiguration(
callContext.getPolarisCallContext(),
configuration);
.getConfiguration(callContext.getPolarisCallContext(), configuration);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import java.util.regex.Pattern;
import org.apache.polaris.core.PolarisConfiguration;
import org.apache.polaris.core.PolarisConfigurationStore;
import org.apache.polaris.core.context.CallContext;
import org.apache.polaris.core.storage.PolarisStorageConfigurationInfo;

/** Aws Polaris Storage Configuration information */
Expand Down Expand Up @@ -75,7 +74,8 @@ public AwsStorageConfigurationInfo(
this.externalId = externalId;
this.region = region;
validateMaxAllowedLocations(
PolarisConfigurationStore.getConfiguration(PolarisConfiguration.STORAGE_CONFIGURATION_MAX_LOCATIONS));
PolarisConfigurationStore.getConfiguration(
PolarisConfiguration.STORAGE_CONFIGURATION_MAX_LOCATIONS));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import java.util.Objects;
import org.apache.polaris.core.PolarisConfiguration;
import org.apache.polaris.core.PolarisConfigurationStore;
import org.apache.polaris.core.context.CallContext;
import org.apache.polaris.core.storage.PolarisStorageConfigurationInfo;

/** Azure storage configuration information. */
Expand All @@ -52,7 +51,8 @@ public AzureStorageConfigurationInfo(
super(StorageType.AZURE, allowedLocations);
this.tenantId = tenantId;
validateMaxAllowedLocations(
PolarisConfigurationStore.getConfiguration(PolarisConfiguration.STORAGE_CONFIGURATION_MAX_LOCATIONS));
PolarisConfigurationStore.getConfiguration(
PolarisConfiguration.STORAGE_CONFIGURATION_MAX_LOCATIONS));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import java.util.List;
import org.apache.polaris.core.PolarisConfiguration;
import org.apache.polaris.core.PolarisConfigurationStore;
import org.apache.polaris.core.context.CallContext;
import org.apache.polaris.core.storage.PolarisStorageConfigurationInfo;

/** Gcp storage storage configuration information. */
Expand All @@ -42,7 +41,8 @@ public GcpStorageConfigurationInfo(
List<String> allowedLocations) {
super(StorageType.GCS, allowedLocations);
validateMaxAllowedLocations(
PolarisConfigurationStore.getConfiguration(PolarisConfiguration.STORAGE_CONFIGURATION_MAX_LOCATIONS));
PolarisConfigurationStore.getConfiguration(
PolarisConfiguration.STORAGE_CONFIGURATION_MAX_LOCATIONS));
}

@Override
Expand Down

0 comments on commit f18df3b

Please sign in to comment.