Skip to content

Commit

Permalink
remove unnecessary generics
Browse files Browse the repository at this point in the history
  • Loading branch information
chaokunyang committed Oct 6, 2023
1 parent fc09fbb commit d31732e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/fury-core/src/test/java/io/fury/FuryTestBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public static Object serDeCheck(Fury fury, Object obj) {
public static <T> T serDe(Fury fury, T obj) {
try {
byte[] bytes = fury.serialize(obj);
return (T) (fury.deserialize(bytes));
return fury.deserialize(bytes);
} catch (Throwable t) {
// Catch for add breakpoint for debugging.
throw t;
Expand Down

0 comments on commit d31732e

Please sign in to comment.