From 6c8c735027f1972bf1a5198577de66123c05f91f Mon Sep 17 00:00:00 2001 From: Matthias Stock Date: Fri, 30 Apr 2021 11:18:58 +0200 Subject: [PATCH 1/2] Fix typo in NamedContributors Javadoc See gh-26321 --- .../springframework/boot/actuate/health/NamedContributors.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/NamedContributors.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/NamedContributors.java index 4cae6dca7bb..d0ef3af8013 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/NamedContributors.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/NamedContributors.java @@ -33,7 +33,7 @@ public interface NamedContributors extends Iterable> { /** * Return the contributor with the given name. * @param name the name of the contributor - * @return a contributor instance of {@code null} + * @return a contributor instance or {@code null} */ C getContributor(String name); From af70da0e929b022ca2983f4d01423c8df778a8bb Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 30 Apr 2021 13:35:28 +0200 Subject: [PATCH 2/2] Update copyright year of changed file See gh-26321 --- .../springframework/boot/actuate/health/NamedContributors.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/NamedContributors.java b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/NamedContributors.java index d0ef3af8013..5d4b9e1cdc8 100644 --- a/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/NamedContributors.java +++ b/spring-boot-project/spring-boot-actuator/src/main/java/org/springframework/boot/actuate/health/NamedContributors.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2019 the original author or authors. + * Copyright 2012-2021 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.