[errorprone] Express duration using seconds which is clearer
[CanonicalDuration] Duration can be expressed more clearly with different units. see https://errorprone.info/bugpattern/CanonicalDuration Change-Id: I7f358b5adabee1523e56b109a2c81c74ec523b74
This commit is contained in:
parent
ec0657ba01
commit
13bea495c7
|
@ -205,7 +205,7 @@ public static final class FileStoreAttributes {
|
|||
* </p>
|
||||
*/
|
||||
public static final Duration FALLBACK_TIMESTAMP_RESOLUTION = Duration
|
||||
.ofMillis(2000);
|
||||
.ofSeconds(2);
|
||||
|
||||
/**
|
||||
* Fallback FileStore attributes used when we can't measure the
|
||||
|
|
Loading…
Reference in New Issue