Skip to content

Commit bc23e70

Browse files
committed
Polish "Support lower-case input in DurationStyle"
See gh-32223
1 parent c579c93 commit bc23e70

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/convert/DurationStyle.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,6 +29,7 @@
2929
* Duration format styles.
3030
*
3131
* @author Phillip Webb
32+
* @author Valentine Wu
3233
* @since 2.0.0
3334
*/
3435
public enum DurationStyle {

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/convert/DurationStyleTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2021 the original author or authors.
2+
* Copyright 2012-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@
2828
* Tests for {@link DurationStyle}.
2929
*
3030
* @author Phillip Webb
31+
* @author Valentine Wu
3132
*/
3233
class DurationStyleTests {
3334

0 commit comments

Comments
 (0)