Skip to content

Commit 2454f47

Browse files
committed
lint
1 parent b8a274e commit 2454f47

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

parquet-avro/src/test/java/org/apache/parquet/avro/TestReadWrite.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,8 @@ public void testDecimalInt64Values() throws Exception {
417417

418418
MessageType parquetSchema = new MessageType(
419419
"test_decimal_int64_values",
420-
new PrimitiveType(REQUIRED, INT64, "decimal_salary").withLogicalTypeAnnotation(LogicalTypeAnnotation.decimalType(1, 10)));
420+
new PrimitiveType(REQUIRED, INT64, "decimal_salary")
421+
.withLogicalTypeAnnotation(LogicalTypeAnnotation.decimalType(1, 10)));
421422

422423
try (ParquetWriter<Group> writer =
423424
ExampleParquetWriter.builder(path).withType(parquetSchema).build()) {
@@ -451,8 +452,7 @@ public void testDecimalInt64Values() throws Exception {
451452
Object firstSalary = records.get(0).get("decimal_salary");
452453
Object secondSalary = records.get(1).get("decimal_salary");
453454

454-
Assert.assertTrue(
455-
"Should be BigDecimal, but is " + firstSalary.getClass(), firstSalary instanceof BigDecimal);
455+
Assert.assertTrue("Should be BigDecimal, but is " + firstSalary.getClass(), firstSalary instanceof BigDecimal);
456456
Assert.assertEquals("Should be 23.4, but is " + firstSalary, new BigDecimal("23.4"), firstSalary);
457457
Assert.assertEquals("Should be 120.3, but is " + secondSalary, new BigDecimal("120.3"), secondSalary);
458458
}

0 commit comments

Comments
 (0)