Skip to content

Commit

Permalink
style fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
gatorsmile committed Dec 8, 2015
1 parent 82d5d2b commit 968392b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,8 @@ public void testTypeEncoder() {
Encoders.tuple(Encoders.DOUBLE(), Encoders.DECIMAL(), Encoders.DATE(), Encoders.TIMESTAMP(),
Encoders.FLOAT());
List<Tuple5<Double, BigDecimal, Date, Timestamp, Float>> data =
Arrays.asList(new Tuple5<Double, BigDecimal, Date, Timestamp, Float>
(1.7976931348623157E308, new BigDecimal("0.922337203685477589").stripTrailingZeros(),
Arrays.asList(new Tuple5<Double, BigDecimal, Date, Timestamp, Float>(
1.7976931348623157E308, new BigDecimal("0.922337203685477589"),
Date.valueOf("1970-01-01"), new Timestamp(System.currentTimeMillis()), Float.MAX_VALUE));
Dataset<Tuple5<Double, BigDecimal, Date, Timestamp, Float>> ds =
context.createDataset(data, encoder);
Expand Down

0 comments on commit 968392b

Please sign in to comment.