Skip to content

Commit

Permalink
Cleaned up.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-mclawhorn committed Mar 6, 2017
1 parent 0b9df3b commit 21ac864
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ protected Result map(Result result, ResultSetSchema schema) {
throw new IllegalStateException("Cannot map results without a column name");
}

MetricColumn metricColumn = schema.<MetricColumn>getColumn(columnName, MetricColumn.class).orElseThrow(
MetricColumn metricColumn = schema.getColumn(columnName, MetricColumn.class).orElseThrow(
() -> new IllegalStateException("Unexpected missing column: " + columnName)
);

Expand Down

0 comments on commit 21ac864

Please sign in to comment.