Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Oct 13, 2024
1 parent e12283b commit 6225019
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion afterburner/src/test/java/perftest/TestJvmDeserPerf.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void test()
protected int testDeser(ObjectMapper mapper, byte[] input, int reps)
throws Exception
{
JavaType type = TypeFactory.defaultInstance().constructType(MediaItem.class);
JavaType type = mapper.constructType(MediaItem.class);
MediaItem item = null;
for (int i = 0; i < reps; ++i) {
item = mapper.readValue(input, 0, input.length, type);
Expand Down

0 comments on commit 6225019

Please sign in to comment.