Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package de.zalando.typemapper.core.fieldMapper;

sentinel mapper for NULL fields returned from database for Set<?> mappings to avoid "Could not find mapper for type java.util.Set" exceptions.

Author(s):
carsten.wolters
 
 public class NullSetFieldMapper implements FieldMapper {
    @Override
    public Object mapField(final String stringfinal Class<?> clazz) {
        return null;
    }
New to GrepCode? Check out our FAQ X