Skip to content

Commit

Permalink
Update extensions/jaxb/runtime/src/main/java/io/quarkus/jaxb/runtime/…
Browse files Browse the repository at this point in the history
…JaxbContextProducer.java

Co-authored-by: George Gastaldi <gegastaldi@gmail.com>
  • Loading branch information
Sgitario and gastaldi committed Jun 8, 2022
1 parent 341aa61 commit 2440a9e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -38,7 +38,7 @@ public JAXBContext jaxbContext(Instance<JaxbContextCustomizer> customizers) {
classes.add(clazz);
}
}
return JAXBContext.newInstance(classes.toArray(new Class[classes.size()]), properties);
return JAXBContext.newInstance(classes.toArray(new Class[0]), properties);
} catch (JAXBException | ClassNotFoundException e) {
throw new RuntimeException(e);
}
Expand Down

0 comments on commit 2440a9e

Please sign in to comment.