Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
leonliu288 committed Dec 5, 2023
1 parent eba3149 commit 4d4f032
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/* (C)2023 */
package com.cas.challengeservice.config;

import static com.cas.challengeservice.constant.Constants.MQ_REQUEST_ADD_BADGE;

import com.cas.challengeservice.constant.Constants.*;
import com.cas.challengeservice.dto.BadgeAddRequest;
import com.cas.challengeservice.dto.MessageDto;
import com.cas.challengeservice.service.BadgeService;
Expand All @@ -9,9 +13,6 @@
import org.springframework.amqp.core.MessageListener;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import com.cas.challengeservice.constant.Constants.*;

import static com.cas.challengeservice.constant.Constants.MQ_REQUEST_ADD_BADGE;

@Component
@Log4j2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ public class RabbitMQConfig {
@Value("${spring.rabbitmq.queue}")
private String queueName;

@Autowired
private BadgeListener badgeListener;
@Autowired private BadgeListener badgeListener;

@Bean
public ConnectionFactory connectionFactory() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* (C)2023 */
package com.cas.challengeservice.constant;

public class Constants {
public static final String MQ_REQUEST_ADD_BADGE = "ADD_BADGE";

}

0 comments on commit 4d4f032

Please sign in to comment.