Update spring test data for 172 idea
This commit is contained in:
+3
@@ -3,11 +3,14 @@
|
||||
package a
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired
|
||||
import org.springframework.beans.factory.annotation.Qualifier
|
||||
import org.springframework.stereotype.Component
|
||||
import org.springframework.context.annotation.Configuration
|
||||
import org.springframework.context.annotation.ComponentScan
|
||||
|
||||
@Component
|
||||
open class FooBean {
|
||||
@Qualifier("application")
|
||||
@Autowired lateinit var application: Application
|
||||
@Autowired lateinit var barBean<caret>: BarBean
|
||||
|
||||
|
||||
+2
-1
@@ -10,7 +10,8 @@ import org.springframework.context.annotation.ComponentScan
|
||||
|
||||
@Component
|
||||
open class FooBean {
|
||||
@Qualifier("barBean") @Autowired lateinit var barBean<caret>: BarBean
|
||||
@Qualifier("barBean")
|
||||
@Autowired lateinit var barBean<caret>: BarBean
|
||||
|
||||
}
|
||||
|
||||
|
||||
ultimate/testData/spring/core/generate/autowiredDependencies/propertyWithQualifierXmlConfig.kt.after
Vendored
+2
-1
@@ -7,7 +7,8 @@ import org.springframework.beans.factory.annotation.Autowired
|
||||
import org.springframework.beans.factory.annotation.Qualifier
|
||||
|
||||
open class FooBean {
|
||||
@Qualifier("barBean") @Autowired lateinit var barBean: BarBean
|
||||
@Qualifier("barBean")
|
||||
@Autowired lateinit var barBean<caret>: BarBean
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user