Skip to content

Commit d8d68a9

Browse files
committed
Prepare doc for upcoming v2
1 parent 3d0bcfa commit d8d68a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ histogram.recordValue(...);
319319
# Migrating from V1 to v2
320320

321321
For most users, migration from HdrHistogramJS v1 to v2 should be smooth. However since HdrHistogramJS v2 does not stick anymore with HdrHistogram Java API, you might run into some breaking changes.
322-
Prior to v2, _hdr.build()_ was returning an _AbstractHistogram_ instance. _AbstractHistogram_ does not exist anymore and has been replaced by an _Histogram_ interface. Most methods from _AbstractHistogram_ still exist in new _Histogram_, however getter methods such as _getMean()_ or getTotalCount()\_ have been replaced by JS properties:
322+
Prior to v2, _hdr.build()_ was returning an _AbstractHistogram_ instance. _AbstractHistogram_ does not exist anymore and has been replaced by an _Histogram_ interface. Most methods from _AbstractHistogram_ still exist in new _Histogram_, however getter methods such as _getMean()_ or _getTotalCount()_ have been replaced by JS properties:
323323

324324
```
325325
// HdrHistogramJS v1

0 commit comments

Comments
 (0)