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;