YunaBraska/nats-streaming-server-embedded

View on GitHub
src/main/java/berlin/yuna/natsserver/streaming/embedded/annotation/EnableNatsStreamingServerContextCustomizer.java

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Method customizeContext has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public void customizeContext(final ConfigurableApplicationContext context, final MergedContextConfiguration mergedConfig) {
        final ConfigurableListableBeanFactory beanFactory = context.getBeanFactory();
        Assert.isInstanceOf(DefaultSingletonBeanRegistry.class, beanFactory);
        final ConfigurableEnvironment environment = context.getEnvironment();

    There are no issues that match your filters.

    Category
    Status