You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by di...@apache.org on 2025/11/28 13:55:03 UTC

(polaris) branch main updated: fix OPA javadoc referencing `OpaSchemaGenerator` (#3153)

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

dimas 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 84a01575d fix OPA javadoc referencing `OpaSchemaGenerator` (#3153)
84a01575d is described below

commit 84a01575df9a105137c06f072a21507cb6ef5605
Author: Dmitri Bourlatchkov <dm...@gmail.com>
AuthorDate: Fri Nov 28 08:54:59 2025 -0500

    fix OPA javadoc referencing `OpaSchemaGenerator` (#3153)
    
    `OpaSchemaGenerator` is not on the classpath of `opa/impl/main` so the javadoc tool is not able to resolve a `@link` to it.
    
    Use `@code` instead to avoid build warnings like the following:
---
 .../java/org/apache/polaris/extension/auth/opa/model/package-info.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extensions/auth/opa/impl/src/main/java/org/apache/polaris/extension/auth/opa/model/package-info.java b/extensions/auth/opa/impl/src/main/java/org/apache/polaris/extension/auth/opa/model/package-info.java
index 01d750f9b..df749704d 100644
--- a/extensions/auth/opa/impl/src/main/java/org/apache/polaris/extension/auth/opa/model/package-info.java
+++ b/extensions/auth/opa/impl/src/main/java/org/apache/polaris/extension/auth/opa/model/package-info.java
@@ -26,7 +26,7 @@
  *
  * <h2>Schema Generation</h2>
  *
- * <p>The JSON Schema for these models can be generated using the {@link
+ * <p>The JSON Schema for these models can be generated using the {@code
  * org.apache.polaris.extension.auth.opa.model.OpaSchemaGenerator} utility or by running the Gradle
  * task:
  *