Skip to content

Commit

Permalink
Initialize the URLAdapter properly
Browse files Browse the repository at this point in the history
also the last commit was from me i got a new computer and forgot to
configure my git properly sorry
  • Loading branch information
TheRamenChef committed Nov 3, 2020
1 parent 3b88928 commit 0d4cbec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/de/gurkenlabs/litiengine/util/io/XmlUtilities.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public static <T> T read(Class<T> cls, URL path) throws JAXBException {
}

final Unmarshaller um = jaxbContext.createUnmarshaller();
um.setAdapter(new URLAdapter(path));

return cls.cast(um.unmarshal(path));
}
Expand Down

0 comments on commit 0d4cbec

Please sign in to comment.