Skip to content

Commit

Permalink
Update src/test/java/io/jenkins/plugins/jaxb/JAXBContextTest.java
Browse files Browse the repository at this point in the history
Co-authored-by: Jesse Glick <[email protected]>
  • Loading branch information
basil and jglick authored Aug 1, 2022
1 parent c29d42d commit fc508a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/io/jenkins/plugins/jaxb/JAXBContextTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private static void _smokes(JenkinsRule r) throws Throwable {
book.setId(1L);
book.setName("Guide to JAXB");
JAXBContext context;
try (SetContextClassLoader sccl = new SetContextClassLoader(RealJenkinsRule.Endpoint.class)) {
try (SetContextClassLoader sccl = new SetContextClassLoader(Book.class)) {
context = JAXBContext.newInstance(Book.class);
}
ByteArrayOutputStream baos = new ByteArrayOutputStream();
Expand Down

0 comments on commit fc508a1

Please sign in to comment.