You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by sn...@apache.org on 2026/02/17 11:36:44 UTC
(polaris) branch main updated: Remove unused field `PolicyCatalogAdapter.realmContext` (#3783)
This is an automated email from the ASF dual-hosted git repository.
snazy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git
The following commit(s) were added to refs/heads/main by this push:
new afea9be3d Remove unused field `PolicyCatalogAdapter.realmContext` (#3783)
afea9be3d is described below
commit afea9be3daa2f44dd773de2872578d6b4157b6fc
Author: Robert Stupp <sn...@snazy.de>
AuthorDate: Tue Feb 17 12:36:40 2026 +0100
Remove unused field `PolicyCatalogAdapter.realmContext` (#3783)
---
.../org/apache/polaris/service/catalog/policy/PolicyCatalogAdapter.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/runtime/service/src/main/java/org/apache/polaris/service/catalog/policy/PolicyCatalogAdapter.java b/runtime/service/src/main/java/org/apache/polaris/service/catalog/policy/PolicyCatalogAdapter.java
index 523107dc4..9068a43aa 100644
--- a/runtime/service/src/main/java/org/apache/polaris/service/catalog/policy/PolicyCatalogAdapter.java
+++ b/runtime/service/src/main/java/org/apache/polaris/service/catalog/policy/PolicyCatalogAdapter.java
@@ -45,7 +45,6 @@ import org.apache.polaris.service.types.UpdatePolicyRequest;
@RequestScoped
public class PolicyCatalogAdapter implements PolarisCatalogPolicyApiService, CatalogAdapter {
- private final RealmContext realmContext;
private final RealmConfig realmConfig;
private final CatalogPrefixParser prefixParser;
private final PolicyCatalogHandlerFactory handlerFactory;
@@ -55,7 +54,6 @@ public class PolicyCatalogAdapter implements PolarisCatalogPolicyApiService, Cat
CallContext callContext,
CatalogPrefixParser prefixParser,
PolicyCatalogHandlerFactory handlerFactory) {
- this.realmContext = callContext.getRealmContext();
this.realmConfig = callContext.getRealmConfig();
this.prefixParser = prefixParser;
this.handlerFactory = handlerFactory;