Skip to content

Commit

Permalink
Apply spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
aandres3 committed Jan 7, 2025
1 parent 3f30f0a commit 4336793
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,6 @@ public ProtoUInt32ValueConverter(ParentValueContainer parent) {
this.parent = parent;
}


@Override
public void addInt(int value) {
parent.add(UInt32Value.of(value));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1374,8 +1374,12 @@ public void testProto3WrappedMessageUnwrappedRoundTrip() throws Exception {

@Test
public void testProto3WrappedMessageUnwrappedRoundTripUint32() throws Exception {
TestProto3.WrappedMessage msgMin = TestProto3.WrappedMessage.newBuilder().setWrappedUInt32(UInt32Value.of(Integer.MAX_VALUE)).build();
TestProto3.WrappedMessage msgMax = TestProto3.WrappedMessage.newBuilder().setWrappedUInt32(UInt32Value.of(Integer.MIN_VALUE)).build();
TestProto3.WrappedMessage msgMin = TestProto3.WrappedMessage.newBuilder()
.setWrappedUInt32(UInt32Value.of(Integer.MAX_VALUE))
.build();
TestProto3.WrappedMessage msgMax = TestProto3.WrappedMessage.newBuilder()
.setWrappedUInt32(UInt32Value.of(Integer.MIN_VALUE))
.build();

Path tmpFilePath = TestUtils.someTemporaryFilePath();
ParquetWriter<MessageOrBuilder> writer = ProtoParquetWriter.<MessageOrBuilder>builder(tmpFilePath)
Expand All @@ -1389,7 +1393,6 @@ public void testProto3WrappedMessageUnwrappedRoundTripUint32() throws Exception

assertEquals(msgMin, gotBack.get(0));
assertEquals(msgMax, gotBack.get(1));

}

@Test
Expand Down

0 comments on commit 4336793

Please sign in to comment.