DozerMapper/dozer — pull request #2 by armzilla (2012-06-04 20:06:34+00:00)
Title: Added stream based config reading, Fixed unit test

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.