Rename property migrator classes

Rename packages and classes to match the new module name.

See gh-11301
This commit is contained in:
Phillip Webb
2018-01-24 15:54:24 -08:00
parent 1a1a62b744
commit e53bef737f
8 changed files with 58 additions and 58 deletions

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.legacyproperties;
package org.springframework.boot.context.properties.migrator;
import org.junit.After;
import org.junit.Rule;
@@ -28,11 +28,11 @@ import org.springframework.context.annotation.Configuration;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Tests for {@link LegacyPropertiesListener}.
* Tests for {@link PropertiesMigrationListener}.
*
* @author Stephane Nicoll
*/
public class LegacyPropertiesListenerTests {
public class PropertiesMigrationListenerTests {
@Rule
public final OutputCapture output = new OutputCapture();

View File

@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.legacyproperties;
package org.springframework.boot.context.properties.migrator;
import java.io.IOException;
import java.util.ArrayList;
@@ -39,11 +39,11 @@ import org.springframework.mock.env.MockEnvironment;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Tests for {@link LegacyPropertiesReporter}.
* Tests for {@link PropertiesMigrationReporter}.
*
* @author Stephane Nicoll
*/
public class LegacyPropertiesReporterTests {
public class PropertiesMigrationReporterTests {
private ConfigurableEnvironment environment = new MockEnvironment();
@@ -172,9 +172,9 @@ public class LegacyPropertiesReporterTests {
return createAnalyzer(repository).getReport().getErrorReport();
}
private LegacyPropertiesReporter createAnalyzer(
private PropertiesMigrationReporter createAnalyzer(
ConfigurationMetadataRepository repository) {
return new LegacyPropertiesReporter(repository, this.environment);
return new PropertiesMigrationReporter(repository, this.environment);
}
}