File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
code/jvm/src/main/kotlin/org/ionproject/codegarten Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ import org.springframework.boot.autoconfigure.SpringBootApplication
1919import org.springframework.boot.context.properties.ConfigurationPropertiesScan
2020import org.springframework.boot.runApplication
2121import org.springframework.context.annotation.Bean
22- import org.springframework.context.annotation.DependsOn
23- import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder
2422import org.springframework.scheduling.annotation.EnableScheduling
2523import org.springframework.stereotype.Component
2624import org.springframework.util.Base64Utils
@@ -67,7 +65,6 @@ class CodeGartenApplication(private val configProperties: ConfigProperties) {
6765 }
6866
6967 @Bean
70- @DependsOn(" getJacksonMapper" )
7168 fun getGithubInterface (mapper : ObjectMapper ): GitHubInterface {
7269 val ghAppPropertiesEnv = System .getenv(configProperties.gitHubAppPropertiesEnv)
7370 ? : throw IllegalStateException (" Missing ${configProperties.gitHubAppPropertiesEnv} environment variable!" )
@@ -100,11 +97,6 @@ class CodeGartenApplication(private val configProperties: ConfigProperties) {
10097
10198 @Bean
10299 fun getCryptoUtils () = cryptoUtils
103-
104- @Bean
105- fun getJacksonMapper (): ObjectMapper {
106- return Jackson2ObjectMapperBuilder ().build()
107- }
108100}
109101
110102@Component
You can’t perform that action at this time.
0 commit comments