JAVA-20898 Check Article Code Matches GitHub
This commit is contained in:
parent
2d2c842d2f
commit
3c5042ebf8
@ -48,7 +48,7 @@ public class JaxbIntegrationTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void unMashal() throws JAXBException, IOException {
|
||||
public void unmarshal() throws JAXBException, IOException {
|
||||
Unmarshaller unmarshaller = context.createUnmarshaller();
|
||||
String bookFile = this.getClass().getResource("/book.xml").getFile();
|
||||
Book unMarshallerbook = (Book) unmarshaller.unmarshal(new FileReader(bookFile));
|
||||
|
Loading…
x
Reference in New Issue
Block a user