diff --git a/independent-projects/resteasy-reactive/common/processor/src/main/java/org/jboss/resteasy/reactive/common/processor/EndpointAnnotationHandler.java b/independent-projects/resteasy-reactive/common/processor/src/main/java/org/jboss/resteasy/reactive/common/processor/EndpointAnnotationHandler.java deleted file mode 100644 index 38e545b4ababc..0000000000000 --- a/independent-projects/resteasy-reactive/common/processor/src/main/java/org/jboss/resteasy/reactive/common/processor/EndpointAnnotationHandler.java +++ /dev/null @@ -1,9 +0,0 @@ -package org.jboss.resteasy.reactive.common.processor; - -import org.jboss.jandex.ClassInfo; - -public interface EndpointAnnotationHandler { - - boolean isEndpointAnnotationValid(ClassInfo classInfo); - -} diff --git a/independent-projects/resteasy-reactive/common/processor/src/main/java/org/jboss/resteasy/reactive/common/processor/EndpointIndexer.java b/independent-projects/resteasy-reactive/common/processor/src/main/java/org/jboss/resteasy/reactive/common/processor/EndpointIndexer.java index 07a1e26da4172..63aa10ffb1b6b 100644 --- a/independent-projects/resteasy-reactive/common/processor/src/main/java/org/jboss/resteasy/reactive/common/processor/EndpointIndexer.java +++ b/independent-projects/resteasy-reactive/common/processor/src/main/java/org/jboss/resteasy/reactive/common/processor/EndpointIndexer.java @@ -331,14 +331,13 @@ public Optional createEndpoints(ClassInfo classInfo, boolean cons //kinda bogus, but we just ignore failed interfaces for now //they can have methods that are not valid until they are actually extended by a concrete type log.debug("Ignoring interface " + classInfo.name(), e); - return Optional.empty(); } else { throw new RuntimeException(e); } - } + return Optional.empty(); } - return Optional.empty(); + } private String sanitizePath(String path) {