Skip to content

Commit c38514a

Browse files
committed
Fix typo
1 parent 3f6d720 commit c38514a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/org/apache/datasketches/quantiles/DoublesSketch.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public static DoublesSketch heapify(final MemorySegment srcSeg) {
159159
public static DoublesSketch wrap(final MemorySegment srcSeg) {
160160
if (!checkIsMemorySegmentCompact(srcSeg)) {
161161
throw new SketchesArgumentException(
162-
"MemorySegment sketch image must be in compact form. "
162+
"MemorySegment sketch image must be in compact form. "
163163
+ "Use {@link #writableWrap(MemorySegment writableWrap(...)} for updatable sketches.");
164164
}
165165
return DirectCompactDoublesSketch.wrapInstance(srcSeg);
@@ -182,8 +182,8 @@ public static DoublesSketch wrap(final MemorySegment srcSeg) {
182182
public static DoublesSketch writableWrap(final MemorySegment srcSeg) {
183183
if (checkIsMemorySegmentCompact(srcSeg)) {
184184
throw new SketchesArgumentException(
185-
"MemorySegment sketch image must be in updatable form. "
186-
+ "Use {@link #wrap(MemorySegment writableWrap(...)} for compact sketches.");
185+
"MemorySegment sketch image must be in updatable form. "
186+
+ "Use {@link #wrap(MemorySegment wrap(...)} for compact sketches.");
187187
}
188188
return DirectUpdateDoublesSketch.wrapInstance(srcSeg, null);
189189
}

0 commit comments

Comments
 (0)