Skip to content

Commit

Permalink
replace private field access with setter
Browse files Browse the repository at this point in the history
  • Loading branch information
ian-j-abbott-accenture committed Jul 3, 2024
1 parent b0bde11 commit 649b613
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class TestAvroSerialization {
@Test
public void testSpecific() throws Exception {
AvroRecord before = new AvroRecord();
before.intField = 5;
before.setIntField(5);
AvroRecord after = SerializationTestUtil.testSerialization(conf, before);
assertEquals(before, after);
}
Expand Down

0 comments on commit 649b613

Please sign in to comment.