This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push: new 7941cfd Fixing reversed Javadoc descriptions (#781) 7941cfd is described below commit 7941cfd255ec2b2655a0c33a4eaa327d87ec416f Author: Thunderforge <wjherrm...@gmail.com> AuthorDate: Tue Aug 24 08:34:12 2021 -0500 Fixing reversed Javadoc descriptions (#781) The descriptions for `formatTime()` and `formatSplitTime()` were reversed; the former said "Returns the split time" and the latter said "returns the time". This PR switches their descriptions so that they now match the behavior of the methods. --- src/main/java/org/apache/commons/lang3/time/StopWatch.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/time/StopWatch.java b/src/main/java/org/apache/commons/lang3/time/StopWatch.java index 21505cb..9a82cbd 100644 --- a/src/main/java/org/apache/commons/lang3/time/StopWatch.java +++ b/src/main/java/org/apache/commons/lang3/time/StopWatch.java @@ -249,9 +249,9 @@ public class StopWatch { } /** - * Returns the time formatted by {@link DurationFormatUtils#formatDurationHMS}. + * Returns the split time formatted by {@link DurationFormatUtils#formatDurationHMS}. * - * @return the time formatted by {@link DurationFormatUtils#formatDurationHMS}. + * @return the split time formatted by {@link DurationFormatUtils#formatDurationHMS}. * @since 3.10 */ public String formatSplitTime() { @@ -259,9 +259,9 @@ public class StopWatch { } /** - * Returns the split time formatted by {@link DurationFormatUtils#formatDurationHMS}. + * Returns the time formatted by {@link DurationFormatUtils#formatDurationHMS}. * - * @return the split time formatted by {@link DurationFormatUtils#formatDurationHMS}. + * @return the time formatted by {@link DurationFormatUtils#formatDurationHMS}. * @since 3.10 */ public String formatTime() {