-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
None
In the method inject(request, response, unwrapAsync) in resteasy-core/src/main/java/org/jboss/resteasy/core/InjectorFactoryImpl.java, the Object injectedValue is assigned to itself.
public Object inject(HttpRequest request, HttpResponse response, boolean unwrapAsync) { Object injectedValue = delegate.inject(request, response, unwrapAsync); injectedValue = injectedValue; if (injectedValue != null && injectedValue instanceof CompletionStage) { return ((CompletionStage<Object>)injectedValue).thenApply(this::wrap); } return wrap(CompletionStageHolder.resolve(injectedValue)); }