Browse Source

Move RandomValuePropertySource into org.springframework.boot.env

Closes gh-8249
pull/8300/head
Andy Wilkinson 9 years ago
parent
commit
6e6d9e4edd
  1. 1
      spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java
  2. 4
      spring-boot/src/main/java/org/springframework/boot/env/RandomValuePropertySource.java
  3. 2
      spring-boot/src/test/java/org/springframework/boot/bind/PropertiesConfigurationFactoryTests.java
  4. 4
      spring-boot/src/test/java/org/springframework/boot/env/RandomValuePropertySourceTests.java

1
spring-boot/src/main/java/org/springframework/boot/context/config/ConfigFileApplicationListener.java

@ -41,6 +41,7 @@ import org.springframework.boot.context.event.ApplicationPreparedEvent; @@ -41,6 +41,7 @@ import org.springframework.boot.context.event.ApplicationPreparedEvent;
import org.springframework.boot.env.EnumerableCompositePropertySource;
import org.springframework.boot.env.EnvironmentPostProcessor;
import org.springframework.boot.env.PropertySourcesLoader;
import org.springframework.boot.env.RandomValuePropertySource;
import org.springframework.boot.logging.DeferredLog;
import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;

4
spring-boot/src/main/java/org/springframework/boot/context/config/RandomValuePropertySource.java → spring-boot/src/main/java/org/springframework/boot/env/RandomValuePropertySource.java vendored

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.context.config;
package org.springframework.boot.env;
import java.util.Random;
import java.util.UUID;

2
spring-boot/src/test/java/org/springframework/boot/bind/PropertiesConfigurationFactoryTests.java

@ -26,7 +26,7 @@ import javax.validation.constraints.NotNull; @@ -26,7 +26,7 @@ import javax.validation.constraints.NotNull;
import org.junit.Test;
import org.springframework.beans.NotWritablePropertyException;
import org.springframework.boot.context.config.RandomValuePropertySource;
import org.springframework.boot.env.RandomValuePropertySource;
import org.springframework.context.support.StaticMessageSource;
import org.springframework.core.env.MutablePropertySources;
import org.springframework.core.env.PropertiesPropertySource;

4
spring-boot/src/test/java/org/springframework/boot/context/config/RandomValuePropertySourceTests.java → spring-boot/src/test/java/org/springframework/boot/env/RandomValuePropertySourceTests.java vendored

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2012-2016 the original author or authors.
* Copyright 2012-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.context.config;
package org.springframework.boot.env;
import java.util.Random;
import java.util.UUID;
Loading…
Cancel
Save