Skip to content

Commit 70889ec

Browse files
committed
typoes
1 parent 4a2978c commit 70889ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/src/main/java/org/elasticsearch/common/time/DateUtils.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public static ZoneId of(String zoneId) {
186186

187187
/**
188188
* convert a java time instant to a long value which is stored in lucene
189-
* the long value resembles the nanoseconds since the epoch
189+
* the long value represents the nanoseconds since the epoch
190190
*
191191
* @param instant the instant to convert
192192
* @return the nano seconds and seconds as a single long
@@ -207,7 +207,7 @@ public static long toLong(Instant instant) {
207207

208208
/**
209209
* Convert a java time instant to a long value which is stored in lucene,
210-
* the long value resembles the milliseconds since the epoch
210+
* the long value represents the milliseconds since epoch
211211
*
212212
* @param instant the instant to convert
213213
* @return the total milliseconds as a single long
@@ -233,7 +233,7 @@ public static long toLongMillis(Instant instant) {
233233
/**
234234
* Returns an instant that is with valid nanosecond resolution. If
235235
* the parameter is before the valid nanosecond range then this returns
236-
* the minimum {@linkplain Instant} valid for nanosecond resultion. If
236+
* the minimum {@linkplain Instant} valid for nanosecond resolution. If
237237
* the parameter is after the valid nanosecond range then this returns
238238
* the maximum {@linkplain Instant} valid for nanosecond resolution.
239239
* <p>

0 commit comments

Comments
 (0)