Rename property migrator classes
Rename packages and classes to match the new module name. See gh-11301
This commit is contained in:
@@ -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();
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user