Commit e8e39e4b authored by Stephane Nicoll's avatar Stephane Nicoll

polish

parent 5efdb858
......@@ -388,7 +388,7 @@ public class ConfigurationMetadataAnnotationProcessorTests {
}
@Test
public void incremenalBuildAnnotationRemoved() throws Exception {
public void incrementalBuildAnnotationRemoved() throws Exception {
TestProject project = new TestProject(this.temporaryFolder, FooProperties.class,
BarProperties.class);
ConfigurationMetadata metadata = project.fullBuild();
......@@ -403,7 +403,7 @@ public class ConfigurationMetadataAnnotationProcessorTests {
}
@Test
public void incremenalBuildTypeRenamed() throws Exception {
public void incrementalBuildTypeRenamed() throws Exception {
TestProject project = new TestProject(this.temporaryFolder, FooProperties.class,
BarProperties.class);
ConfigurationMetadata metadata = project.fullBuild();
......
......@@ -39,7 +39,7 @@ public class ConfigurationMetadataMatchers {
}
public static ContainsItemMatcher containsGroup(String name, String type) {
return new ContainsItemMatcher(ItemType.GROUP, name).ofDataType(type);
return new ContainsItemMatcher(ItemType.GROUP, name).ofType(type);
}
public static ContainsItemMatcher containsProperty(String name) {
......@@ -51,7 +51,7 @@ public class ConfigurationMetadataMatchers {
}
public static ContainsItemMatcher containsProperty(String name, String type) {
return new ContainsItemMatcher(ItemType.PROPERTY, name).ofDataType(type);
return new ContainsItemMatcher(ItemType.PROPERTY, name).ofType(type);
}
public static class ContainsItemMatcher extends BaseMatcher<ConfigurationMetadata> {
......@@ -154,7 +154,7 @@ public class ConfigurationMetadataMatchers {
this.sourceType, this.description, this.defaultValue, this.deprecated);
}
public ContainsItemMatcher ofDataType(String dataType) {
public ContainsItemMatcher ofType(String dataType) {
return new ContainsItemMatcher(this.itemType, this.name, dataType,
this.sourceType, this.description, this.defaultValue, this.deprecated);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment