class ShortConverter implements AtlasConverter<Short> {

    @AtlasConversionInfo(sourceType = FieldType.SHORT, targetType = FieldType.INTEGER)
    public Integer toInteger(Short value) {
        if (value == null) {
            return null;
        }
        return value.intValue();
    }

}