diff --git a/spring-boot/src/main/java/org/springframework/boot/context/config/RandomValuePropertySource.java b/spring-boot/src/main/java/org/springframework/boot/context/config/RandomValuePropertySource.java index 178b3bbda3d..afce9bb5abd 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/config/RandomValuePropertySource.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/config/RandomValuePropertySource.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2014 the original author or authors. + * Copyright 2012-2015 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. @@ -28,13 +28,31 @@ import org.springframework.util.StringUtils; /** * {@link PropertySource} that returns a random value for any property that starts with - * {@literal "random."}. Return a {@code byte[]} unless the property name ends with - * {@literal ".int} or {@literal ".long"}. + * {@literal "random."}. Where the "unqualified property name" is the portion of the + * requested property name beyond the "random." prefix, this {@link PropertySource} + * returns: + *