Skip to content

Commit

Permalink
For constency, changed method setOpBuilder to setOperationBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Rhodes committed Aug 12, 2015
1 parent 2c21579 commit 587a2ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/yahoo/sketches/theta/Sketches.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down
4 changes: 2 additions & 2 deletions src/test/java/com/yahoo/sketches/theta/SketchesTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 587a2ee

Please sign in to comment.