Polish
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
@@ -34,7 +33,6 @@
|
||||
<!-- this override is required to reproduce an issue -->
|
||||
<version>2.0.1.Final</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-configuration-processor</artifactId>
|
||||
|
||||
@@ -44,8 +44,8 @@ public class ConfigurationProcessorIntegrationTests {
|
||||
"META-INF/spring-configuration-metadata.json");
|
||||
assertThat(resource.exists()).isTrue();
|
||||
// Make sure the right file is detected
|
||||
assertThat(resource.getURL().toString()).contains(
|
||||
"spring-boot-configuration-processor-tests");
|
||||
assertThat(resource.getURL().toString())
|
||||
.contains("spring-boot-configuration-processor-tests");
|
||||
repository = ConfigurationMetadataRepositoryJsonBuilder
|
||||
.create(resource.getInputStream()).build();
|
||||
|
||||
@@ -53,8 +53,8 @@ public class ConfigurationProcessorIntegrationTests {
|
||||
|
||||
@Test
|
||||
public void extractTypeFromAnnotatedGetter() {
|
||||
ConfigurationMetadataProperty property = repository.getAllProperties().get(
|
||||
"annotated.name");
|
||||
ConfigurationMetadataProperty property = repository.getAllProperties()
|
||||
.get("annotated.name");
|
||||
assertThat(property).isNotNull();
|
||||
assertThat(property.getType()).isEqualTo("java.lang.String");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user