mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Polish "Support lower-case input in DurationStyle"
See gh-32223
This commit is contained in:
parent
c579c9378b
commit
bc23e70024
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2021 the original author or authors.
|
||||
* Copyright 2012-2022 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.
|
||||
@ -29,6 +29,7 @@ import org.springframework.util.StringUtils;
|
||||
* Duration format styles.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Valentine Wu
|
||||
* @since 2.0.0
|
||||
*/
|
||||
public enum DurationStyle {
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2021 the original author or authors.
|
||||
* Copyright 2012-2022 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,6 +28,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
|
||||
* Tests for {@link DurationStyle}.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
* @author Valentine Wu
|
||||
*/
|
||||
class DurationStyleTests {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user