### Elasticsearch Version

master branch

### Installed Plugins

_No response_

### Java Version

_bundled_

### OS Version

no

### Problem Description

Redundant Code at line 73 in the source file MembersInjectorStore.java

### Steps to Reproduce

no

### Logs (if relevant)

_No response_
server/src/main/java/org/elasticsearch/common/inject/MembersInjectorStore.java
/**
 * Members injectors by type.
 *
 * @author jessewilson@google.com (Jesse Wilson)
 */
class MembersInjectorStore {
    private final InjectorImpl injector;
    private final FailableCache<TypeLiteral<?>, MembersInjectorImpl<?>> cache = new FailableCache<>() {
        @Override
        protected MembersInjectorImpl<?> create(TypeLiteral<?> type, Errors errors) throws ErrorsException {
            return createWithListeners(type, errors);
        }
    };
    MembersInjectorStore(InjectorImpl injector) {
        this.injector = injector;
    }
    /**
     * Returns a new complete members injector with injection listeners registered.
     */
    @SuppressWarnings("unchecked") 
    public <T> MembersInjectorImpl<T> get(TypeLiteral<T> key, Errors errors) throws ErrorsException {
        return (MembersInjectorImpl<T>) cache.get(key, errors);
    }
    /**
     * Creates a new members injector and attaches both injection listeners and method aspects.
     */
    private <T> MembersInjectorImpl<T> createWithListeners(TypeLiteral<T> type, Errors errors) throws ErrorsException {
        int numErrorsBefore = errors.size();
        Set<InjectionPoint> injectionPoints;
        try {