From 587a2eed79df0efdc8f0ed7c620a185234b55bbc Mon Sep 17 00:00:00 2001 From: Lee Rhodes Date: Wed, 12 Aug 2015 12:03:42 -0700 Subject: [PATCH] For constency, changed method setOpBuilder to setOperationBuilder --- src/main/java/com/yahoo/sketches/theta/Sketches.java | 2 +- src/test/java/com/yahoo/sketches/theta/SketchesTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/yahoo/sketches/theta/Sketches.java b/src/main/java/com/yahoo/sketches/theta/Sketches.java index d57128732..3304d478a 100644 --- a/src/main/java/com/yahoo/sketches/theta/Sketches.java +++ b/src/main/java/com/yahoo/sketches/theta/Sketches.java @@ -62,7 +62,7 @@ public static Sketch wrapSketch(Memory srcMem, long seed) { * Ref: {@link SetOperation#builder() SetOperation.builder()} * @return {@link SetOperation.Builder SetOperation.Builder} */ - public static SetOperation.Builder setOpBuilder() { + public static SetOperation.Builder setOperationBuilder() { return SetOperation.builder(); } diff --git a/src/test/java/com/yahoo/sketches/theta/SketchesTest.java b/src/test/java/com/yahoo/sketches/theta/SketchesTest.java index 2940719c8..a39678544 100644 --- a/src/test/java/com/yahoo/sketches/theta/SketchesTest.java +++ b/src/test/java/com/yahoo/sketches/theta/SketchesTest.java @@ -16,7 +16,7 @@ import static com.yahoo.sketches.theta.Sketches.getSerializationVersion; import static com.yahoo.sketches.theta.Sketches.heapifySetOperation; import static com.yahoo.sketches.theta.Sketches.heapifySketch; -import static com.yahoo.sketches.theta.Sketches.setOpBuilder; +import static com.yahoo.sketches.theta.Sketches.setOperationBuilder; import static com.yahoo.sketches.theta.Sketches.updateSketchBuilder; import static com.yahoo.sketches.theta.Sketches.wrapSetOperation; import static com.yahoo.sketches.theta.Sketches.wrapSketch; @@ -58,7 +58,7 @@ public void checkSetOpMethods() { Memory mem1 = getCompactSketch(k, 0, k); Memory mem2 = getCompactSketch(k, k/2, 3*k/2); - SetOperation.Builder bldr = setOpBuilder(); + SetOperation.Builder bldr = setOperationBuilder(); Union union = bldr.buildUnion(2*k); union.update(mem1);