Skip to content

Commit

Permalink
Suppress warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyer committed Sep 12, 2023
1 parent d11d6e8 commit 5accc40
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ void testSerialization() {
vet.setFirstName("Zaphod");
vet.setLastName("Beeblebrox");
vet.setId(123);
@SuppressWarnings("deprecation")
Vet other = (Vet) SerializationUtils.deserialize(SerializationUtils.serialize(vet));
assertThat(other.getFirstName()).isEqualTo(vet.getFirstName());
assertThat(other.getLastName()).isEqualTo(vet.getLastName());
Expand Down

0 comments on commit 5accc40

Please sign in to comment.