Skip to content

Commit

Permalink
[LANG-1761] Revert deprecation of StopWatch#getTime (#1334)
Browse files Browse the repository at this point in the history
  • Loading branch information
AB-xdev authored Dec 10, 2024
1 parent 08988a2 commit bb754f6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/org/apache/commons/lang3/time/StopWatch.java
Original file line number Diff line number Diff line change
Expand Up @@ -485,9 +485,7 @@ public <T, E extends Throwable> T getT(final FailableSupplier<T, E> supplier) th
* </p>
*
* @return the time in milliseconds
* @deprecated Use {@link #getDuration()}.
*/
@Deprecated
public long getTime() {
return nanosToMillis(getNanoTime());
}
Expand Down

0 comments on commit bb754f6

Please sign in to comment.