From 84d814413197a5055d76f167a4977831b7233e5d Mon Sep 17 00:00:00 2001 From: Vivek Sah Date: Sun, 22 Mar 2020 00:22:11 -0700 Subject: [PATCH] Fix java method header for Duration.getNanos() --- core/src/main/java/com/uber/m3/util/Duration.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/com/uber/m3/util/Duration.java b/core/src/main/java/com/uber/m3/util/Duration.java index 913a496..c629eab 100644 --- a/core/src/main/java/com/uber/m3/util/Duration.java +++ b/core/src/main/java/com/uber/m3/util/Duration.java @@ -158,8 +158,8 @@ public long toMillis() { } /** - * Returns the number of seconds in this {@link Duration} as a double. - * @return the number of seconds in this {@link Duration} + * Returns the number of nanoseconds in this {@link Duration} as a long. + * @return the number of nanoseconds in this {@link Duration} */ public long getNanos() { return nanos;