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

jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git


The following commit(s) were added to refs/heads/master by this push:
     new 2f038b2514 Utility class modernization
2f038b2514 is described below

commit 2f038b25147cbe61e99efd9b482e1059a1ecb0b6
Author: James Bognar <[email protected]>
AuthorDate: Thu Nov 6 20:50:41 2025 -0500

    Utility class modernization
---
 .../juneau/common/reflect/AnnotationProvider.java  | 41 ----------------------
 .../src/main/java/org/apache/juneau/Context.java   |  2 +-
 2 files changed, 1 insertion(+), 42 deletions(-)

diff --git 
a/juneau-core/juneau-common/src/main/java/org/apache/juneau/common/reflect/AnnotationProvider.java
 
b/juneau-core/juneau-common/src/main/java/org/apache/juneau/common/reflect/AnnotationProvider.java
deleted file mode 100644
index 9f0ec93e22..0000000000
--- 
a/juneau-core/juneau-common/src/main/java/org/apache/juneau/common/reflect/AnnotationProvider.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.juneau.common.reflect;
-
-/**
- * Interface that provides the ability to look up annotations on 
classes/methods/constructors/fields.
- *
- * <h5 class='section'>See Also:</h5><ul>
- * </ul>
- */
-public interface AnnotationProvider {
-
-       /**
-        * Disable annotation caching.
-        */
-       boolean DISABLE_ANNOTATION_CACHING = 
Boolean.getBoolean("juneau.disableAnnotationCaching");
-
-       /**
-        * Returns the underlying AnnotationProvider2 instance.
-        * 
-        * <p>
-        * This allows direct access to AnnotationProvider2 methods which 
support runtime annotations.
-        *
-        * @return The underlying AnnotationProvider2 instance.
-        */
-       AnnotationProvider2 getAnnotationProvider();
-}
\ No newline at end of file
diff --git 
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/Context.java 
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/Context.java
index 159eedafa9..0061fde656 100644
--- a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/Context.java
+++ b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/Context.java
@@ -76,7 +76,7 @@ import org.apache.juneau.xml.annotation.*;
  * <h5 class='section'>See Also:</h5><ul>
  * </ul>
  */
-public abstract class Context implements AnnotationProvider {
+public abstract class Context {
        /**
         * Builder class.
         */

Reply via email to