commit | 84aaade38181609c1b4ca7913e3828b2a48e30cc | [log] [tgz] |
---|---|---|
author | Jonathan Gallimore <jon@jrg.me.uk> | Mon May 04 17:10:25 2020 +0100 |
committer | Romain Manni-Bucau <rmannibucau@gmail.com> | Mon May 04 18:14:36 2020 +0200 |
tree | d0fd935a566c9c524aacfbaee88aa7823ccd2f04 | |
parent | 424831365f29ed8c432069b2965c69c8ba8fdaaf [diff] |
Make org.apache.geronimo.microprofile.openapi.cdi.GeronimoOpenAPIExtension#findEndpointsAndApplication protected to enable the method to be overridden in subclasses
diff --git a/geronimo-openapi-impl/src/main/java/org/apache/geronimo/microprofile/openapi/cdi/GeronimoOpenAPIExtension.java b/geronimo-openapi-impl/src/main/java/org/apache/geronimo/microprofile/openapi/cdi/GeronimoOpenAPIExtension.java index ba05f10..bb2997c 100644 --- a/geronimo-openapi-impl/src/main/java/org/apache/geronimo/microprofile/openapi/cdi/GeronimoOpenAPIExtension.java +++ b/geronimo-openapi-impl/src/main/java/org/apache/geronimo/microprofile/openapi/cdi/GeronimoOpenAPIExtension.java
@@ -120,7 +120,7 @@ } } - <T> void findEndpointsAndApplication(@Observes final ProcessBean<T> event) { + protected <T> void findEndpointsAndApplication(@Observes final ProcessBean<T> event) { final String typeName = event.getAnnotated().getBaseType().getTypeName(); if (classes == null && !skipScan && event.getAnnotated().isAnnotationPresent(Path.class) && !typeName.startsWith("org.apache.geronimo.microprofile.openapi.") &&