Skip to content

Commit

Permalink
optimize
Browse files Browse the repository at this point in the history
  • Loading branch information
yanhom1314 committed Jul 24, 2023
1 parent a3f3056 commit 92ee9fa
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import org.springframework.context.EnvironmentAware;
import org.springframework.core.env.Environment;

import javax.annotation.Resource;
import java.io.IOException;
import java.util.Map;
import java.util.Objects;
Expand All @@ -44,7 +45,8 @@
@Slf4j
public abstract class AbstractRefresher implements Refresher, EnvironmentAware {

protected DtpProperties dtpProperties = DtpProperties.getInstance();
@Resource
protected DtpProperties dtpProperties;

protected Environment environment;

Expand Down

0 comments on commit 92ee9fa

Please sign in to comment.