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 List<?> mappings to avoid "Could not find mapper for type java.util.List" exceptions.

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