See gh-27418
This commit is contained in:
izeye
2021-07-21 01:54:31 +09:00
committed by Andy Wilkinson
parent c8c1452ced
commit 734293d491
6 changed files with 4 additions and 9 deletions

View File

@@ -100,7 +100,7 @@ public class SpringApplicationBuilder {
/**
* Creates a new {@link org.springframework.boot.SpringApplication} instances from the
* given sources. Subclasses may override in order to provide a custom subclass of
* {@link org.springframework.boot.SpringApplication}
* {@link org.springframework.boot.SpringApplication}.
* @param sources the sources
* @return the {@link org.springframework.boot.SpringApplication} instance
* @since 1.1.0

View File

@@ -123,7 +123,7 @@ class RandomValuePropertySourceTests {
}
@Test
void longRangeWhenLowerBoundNegativeShouldFailWithIllegalArgumentException() {
void longRangeWhenLowerBoundNegative() {
Long value = (Long) this.source.getProperty("random.long[-4,4]");
assertThat(value >= -4).isTrue();
assertThat(value < 4).isTrue();