Skip to content
Permalink
Browse files
Merge pull request #42 from DataSketches/varopt_udf
remove unnecessary throws (and get IDE to start flagging it)
  • Loading branch information
jmalkin committed Jun 30, 2017
2 parents 4ca7024 + dda5c34 commit bd1d1f5bd404c9a1e8aa29f0a07845573bd8eff0
Showing 2 changed files with 2 additions and 1 deletion.
@@ -75,7 +75,7 @@ static VarOptItemsUnion<Tuple> unionSketches(final Tuple inputTuple, final int k
}

// Serializes a sketch to a DataByteArray and wraps it in a Tuple
static Tuple wrapSketchInTuple(final VarOptItemsSketch<Tuple> sketch) throws IOException {
static Tuple wrapSketchInTuple(final VarOptItemsSketch<Tuple> sketch) {
final DataByteArray dba = new DataByteArray(sketch.toByteArray(SERDE));
return TUPLE_FACTORY.newTuple(dba);
}
@@ -66,6 +66,7 @@ public void baseConstructors() {
}
}

@SuppressWarnings("unused")
@Test
public void algebraicFinalConstructors() {
// these there should work

0 comments on commit bd1d1f5

Please sign in to comment.