Added stream based config reading, Fixed unit test #2

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@armzilla
Contributor
armzilla commented Jun 4, 2012

Added the ability to load mapping config from a stream. This can benefit users that do not store configuration from the file system. I refactored the MappingFileReader stream reading capability to expose this function.

dozer/core/src/test/java/org/dozer/functional_tests/InvalidMappingTest.java was expecting an NPE but the test creates a Mapping exception. I corrected this test as it should not generate NPE anymore. The build test is clean now.

@buzdin
Member
buzdin commented Nov 14, 2012

refactoring the code. will push soon.

@buzdin buzdin closed this in db0cb97 Dec 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment