Skip to content

Commit

Permalink
Remove J2ObjCIncompatible from Stopwatch.elapsed
Browse files Browse the repository at this point in the history
RELNOTES=n/a
PiperOrigin-RevId: 471074169
  • Loading branch information
java-team-github-bot authored and Google Java Core Libraries committed Aug 30, 2022
1 parent f1c700c commit 807a593
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions guava/src/com/google/common/base/Stopwatch.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import com.google.common.annotations.GwtCompatible;
import com.google.common.annotations.GwtIncompatible;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
import com.google.j2objc.annotations.J2ObjCIncompatible;
import java.time.Duration;
import java.util.concurrent.TimeUnit;

Expand Down Expand Up @@ -218,7 +217,6 @@ public long elapsed(TimeUnit desiredUnit) {
* @since 22.0
*/
@GwtIncompatible
@J2ObjCIncompatible
public Duration elapsed() {
return Duration.ofNanos(elapsedNanos());
}
Expand Down

0 comments on commit 807a593

Please sign in to comment.