Skip to content

Commit 285c1ff

Browse files
authored
Update Javadoc @SInCE tags from 3.19.0 to 3.20.0
1 parent c40fd1c commit 285c1ff

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

src/main/java/org/apache/commons/lang3/time/StopWatch.java

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ public String getMessage() {
339339
* Gets the split list.
340340
*
341341
* @return the list of splits.
342-
* @since 3.19.0
342+
* @since 3.20.0
343343
*/
344344
public List<Split> getSplits() {
345345
return Collections.unmodifiableList(splits);
@@ -657,7 +657,7 @@ public void split() {
657657
*
658658
* @param label A message for string presentation.
659659
* @throws IllegalStateException if the StopWatch is not running.
660-
* @since 3.19.0
660+
* @since 3.20.0
661661
*/
662662
public void split(final String label) {
663663
if (runningState != State.RUNNING) {
@@ -791,13 +791,15 @@ public void unsplit() {
791791
}
792792

793793
/**
794-
* Class to store a label with duration.
795-
* @since 3.19.0
794+
* Stores a split as a label and duration.
795+
*
796+
* @since 3.20.0
796797
*/
797798
public static final class Split extends ImmutablePair<String, Duration> {
798799

799800
/**
800801
* Constructs a Split object with label and duration.
802+
*
801803
* @param label Label for this split.
802804
* @param duration Duration for this split.
803805
*/
@@ -807,23 +809,26 @@ public Split(String label, Duration duration) {
807809

808810
/**
809811
* Gets the label of this split.
810-
* @return label.
812+
*
813+
* @return The label of this split.
811814
*/
812815
public String getLabel() {
813816
return getLeft();
814817
}
815818

816819
/**
817820
* Gets the duration of this split.
818-
* @return duration.
821+
*
822+
* @return The duration of this split..
819823
*/
820824
public Duration getDuration() {
821825
return getRight();
822826
}
823827

824828
/**
825-
* Converts this instance to a handy string.
826-
* @return this instance as a string.
829+
* Converts this instance to a string.
830+
*
831+
* @return this instance to a string.
827832
*/
828833
@Override
829834
public String toString() {

0 commit comments

Comments
 (0)