Skip to content

Commit 3cc8f15

Browse files
authored
fix binary compatibility with old version (#692)
1 parent 6107962 commit 3cc8f15

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/main/java/org/influxdb/dto/Point.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,18 @@ public Builder time(final Number timeToSet, final TimeUnit precisionToSet) {
234234
return this;
235235
}
236236

237+
/**
238+
* Add a time to this point as long.
239+
* only kept for binary compatibility with previous releases.
240+
*
241+
* @param timeToSet the time for this point as long
242+
* @param precisionToSet the TimeUnit
243+
* @return the Builder instance.
244+
*/
245+
public Builder time(final long timeToSet, final TimeUnit precisionToSet) {
246+
return time((Number) timeToSet, precisionToSet);
247+
}
248+
237249
/**
238250
* Add a time to this point as Long.
239251
* only kept for binary compatibility with previous releases.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy