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.
This commit is contained in:
parent
a8f18fc98e
commit
7941cfd255
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue