diff --git a/src/main/java/com/telpo/dipperposition/co/RzlAccount.java b/src/main/java/com/telpo/dipperposition/co/RzlAccount.java index df5d1bc..5b589b4 100644 --- a/src/main/java/com/telpo/dipperposition/co/RzlAccount.java +++ b/src/main/java/com/telpo/dipperposition/co/RzlAccount.java @@ -20,7 +20,7 @@ import org.springframework.stereotype.Component; @Component public class RzlAccount { - @Value("${hello}") + @Value("${position.hello}") private String hello; RzlAccount() diff --git a/src/main/java/com/telpo/dipperposition/config/PositionConfig.java b/src/main/java/com/telpo/dipperposition/config/PositionConfig.java index 6a81b21..7e0b866 100644 --- a/src/main/java/com/telpo/dipperposition/config/PositionConfig.java +++ b/src/main/java/com/telpo/dipperposition/config/PositionConfig.java @@ -30,15 +30,4 @@ import java.util.Properties; @ConfigurationProperties(prefix = "position") public class PositionConfig { - @Value("${hello}") - private String hello; - - @Scope(value = ConfigurableBeanFactory.SCOPE_SINGLETON) - public RzlAccount getRzlAccount() { - - RzlAccount rzlAccount = new RzlAccount(); - rzlAccount.setHello(hello); - return rzlAccount; - } - }