Skip to content
Permalink
Browse files
remove unnecessary throws (and get compiler to start flagging it), ad…
…d suppresswarnings to keep eclipse happy
  • Loading branch information
jmalkin committed Jun 30, 2017
1 parent 42b2a24 commit dda5c349639f45b5fed2ad8f5d19f0f93c09a441
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 dda5c34

Please sign in to comment.