mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-18 17:48:14 +08:00
Fix initial Java migration
This commit fixes several issues with the initial java migration. On MacOS, the name of the temp directory can be `T` and the new tgz API requires a parent folder whose name has at least 3 characters. The Selenium tests require a more precise element to show the advanced section. The integration tests were generation the docs snippet on the wrong accept header.
This commit is contained in:
@@ -19,7 +19,6 @@ package io.spring.initializr.service
|
||||
import java.util.concurrent.Executor
|
||||
|
||||
import io.spring.initializr.metadata.InitializrMetadataProvider
|
||||
import io.spring.initializr.util.GroovyTemplate
|
||||
import io.spring.initializr.web.project.LegacyStsController
|
||||
|
||||
import org.springframework.boot.SpringApplication
|
||||
@@ -47,9 +46,8 @@ class InitializrService {
|
||||
@Bean
|
||||
@SuppressWarnings("deprecation")
|
||||
LegacyStsController legacyStsController(InitializrMetadataProvider metadataProvider,
|
||||
ResourceUrlProvider resourceUrlProvider,
|
||||
GroovyTemplate groovyTemplate) {
|
||||
new LegacyStsController(metadataProvider, resourceUrlProvider, groovyTemplate)
|
||||
ResourceUrlProvider resourceUrlProvider) {
|
||||
new LegacyStsController(metadataProvider, resourceUrlProvider)
|
||||
}
|
||||
|
||||
@Configuration
|
||||
|
Reference in New Issue
Block a user