Skip to content

Commit

Permalink
Fix New Sonar Bug and Smell
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Feb 9, 2021
1 parent 692713d commit 35caa12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
package org.springframework.amqp.rabbit.annotation;

import org.springframework.amqp.rabbit.config.RabbitListenerConfigUtils;
import org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistry;
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
import org.springframework.beans.factory.support.RootBeanDefinition;
import org.springframework.context.EnvironmentAware;
Expand All @@ -37,7 +36,7 @@
*
* @see RabbitListenerAnnotationBeanPostProcessor
* @see MultiRabbitListenerAnnotationBeanPostProcessor
* @see RabbitListenerEndpointRegistry
* @see org.springframework.amqp.rabbit.listener.RabbitListenerEndpointRegistry
* @see EnableRabbit
*/
public class MultiRabbitBootstrapConfiguration implements ImportBeanDefinitionRegistrar, EnvironmentAware {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected String resolveMultiRabbitAdminName(RabbitListener rabbitListener) {
/**
* An {@link InvocationHandler} to provide a replacing admin() parameter of the listener.
*/
private final class RabbitListenerAdminReplacementInvocationHandler implements InvocationHandler {
private static final class RabbitListenerAdminReplacementInvocationHandler implements InvocationHandler {

private final RabbitListener target;
private final String admin;
Expand Down

0 comments on commit 35caa12

Please sign in to comment.