|
|
|
|
@ -1593,7 +1593,7 @@ class ConfigurationPropertiesTests {
@@ -1593,7 +1593,7 @@ class ConfigurationPropertiesTests {
|
|
|
|
|
|
|
|
|
|
@Bean |
|
|
|
|
@ConfigurationPropertiesBinding |
|
|
|
|
Converter<String, Person> personConverter() { |
|
|
|
|
static Converter<String, Person> personConverter() { |
|
|
|
|
return new PersonConverter(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1604,7 +1604,7 @@ class ConfigurationPropertiesTests {
@@ -1604,7 +1604,7 @@ class ConfigurationPropertiesTests {
|
|
|
|
|
|
|
|
|
|
@Bean |
|
|
|
|
@ConfigurationPropertiesBinding |
|
|
|
|
Converter<String, Alien> alienConverter() { |
|
|
|
|
static Converter<String, Alien> alienConverter() { |
|
|
|
|
return new AlienConverter(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1625,7 +1625,7 @@ class ConfigurationPropertiesTests {
@@ -1625,7 +1625,7 @@ class ConfigurationPropertiesTests {
|
|
|
|
|
|
|
|
|
|
@Bean |
|
|
|
|
@ConfigurationPropertiesBinding |
|
|
|
|
GenericConverter genericPersonConverter() { |
|
|
|
|
static GenericConverter genericPersonConverter() { |
|
|
|
|
return new GenericPersonConverter(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -1636,7 +1636,7 @@ class ConfigurationPropertiesTests {
@@ -1636,7 +1636,7 @@ class ConfigurationPropertiesTests {
|
|
|
|
|
|
|
|
|
|
@Bean |
|
|
|
|
@ConfigurationPropertiesBinding |
|
|
|
|
Formatter<Person> personFormatter() { |
|
|
|
|
static Formatter<Person> personFormatter() { |
|
|
|
|
return new PersonFormatter(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -3064,7 +3064,7 @@ class ConfigurationPropertiesTests {
@@ -3064,7 +3064,7 @@ class ConfigurationPropertiesTests {
|
|
|
|
|
|
|
|
|
|
@Bean |
|
|
|
|
@ConfigurationPropertiesBinding |
|
|
|
|
WithObjectToObjectMethodConverter withObjectToObjectMethodConverter() { |
|
|
|
|
static WithObjectToObjectMethodConverter withObjectToObjectMethodConverter() { |
|
|
|
|
return new WithObjectToObjectMethodConverter(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|