This is an automated email from the ASF dual-hosted git repository.

emaynard 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 a59942a3e Remove CallContext.getDiagnostics (#1815)
a59942a3e is described below

commit a59942a3e1350f017dfb9c4d2bed0edf6075d8ca
Author: Honah (Jonas) J. <hon...@apache.org>
AuthorDate: Wed Jun 4 18:00:40 2025 -0700

    Remove CallContext.getDiagnostics (#1815)
    
    This shall be part of the CallContext cleanup process. 
`CallContext.getDiagnostics` is never used anywhere
---
 .../src/main/java/org/apache/polaris/core/context/CallContext.java   | 5 -----
 1 file changed, 5 deletions(-)

diff --git 
a/polaris-core/src/main/java/org/apache/polaris/core/context/CallContext.java 
b/polaris-core/src/main/java/org/apache/polaris/core/context/CallContext.java
index 466b590c9..d718e9129 100644
--- 
a/polaris-core/src/main/java/org/apache/polaris/core/context/CallContext.java
+++ 
b/polaris-core/src/main/java/org/apache/polaris/core/context/CallContext.java
@@ -19,7 +19,6 @@
 package org.apache.polaris.core.context;
 
 import org.apache.polaris.core.PolarisCallContext;
-import org.apache.polaris.core.PolarisDiagnostics;
 
 /**
  * Stores elements associated with an individual REST request such as 
RealmContext, caller
@@ -41,10 +40,6 @@ public interface CallContext {
     return CURRENT_CONTEXT.get();
   }
 
-  static PolarisDiagnostics getDiagnostics() {
-    return CURRENT_CONTEXT.get().getPolarisCallContext().getDiagServices();
-  }
-
   static void unsetCurrentContext() {
     CURRENT_CONTEXT.remove();
   }

Reply via email to