Polishing

This commit is contained in:
Juergen Hoeller
2015-02-10 19:30:59 +01:00
parent 7585be85f3
commit 058714b03a
10 changed files with 36 additions and 42 deletions

View File

@@ -272,7 +272,7 @@ public class Jackson2ObjectMapperBuilder {
* @see com.fasterxml.jackson.databind.ObjectMapper#addMixInAnnotations(Class, Class)
*/
public Jackson2ObjectMapperBuilder mixIn(Class<?> target, Class<?> mixinSource) {
if (mixIns != null) {
if (mixinSource != null) {
this.mixIns.put(target, mixinSource);
}
return this;