@@ -0,0 +1,2396 @@
+package org.itevents.model.builder;%0A%0Aimport org.itevents.model.City;%0Aimport org.itevents.model.Filter;%0Aimport org.itevents.model.Technology;%0A%0Aimport java.util.List;%0A%0Apublic class FilterBuilder %7B%0A    private int id;%0A    private Integer offset;%0A    private Integer limit;%0A    private City city;%0A    private Boolean free;%0A    private Double longitude;%0A    private Double latitude;%0A    private Integer radius;%0A    private List%3CTechnology%3E technologies;%0A    private Integer rangeInDays;%0A%0A    private FilterBuilder() %7B%0A    %7D%0A%0A    public static FilterBuilder aFilter() %7B%0A        return new FilterBuilder();%0A    %7D%0A%0A    public FilterBuilder id(int id) %7B%0A        this.id = id;%0A        return this;%0A    %7D%0A%0A    public FilterBuilder offset(Integer offset) %7B%0A        this.offset = offset;%0A        return this;%0A    %7D%0A%0A    public FilterBuilder limit(Integer limit) %7B%0A        this.limit = limit;%0A        return this;%0A    %7D%0A%0A    public FilterBuilder city(City city) %7B%0A        this.city = city;%0A        return this;%0A    %7D%0A%0A    public FilterBuilder free(Boolean free) %7B%0A        this.free = free;%0A        return this;%0A    %7D%0A%0A    public FilterBuilder longitude(Double longitude) %7B%0A        this.longitude = longitude;%0A        return this;%0A    %7D%0A%0A    public FilterBuilder latitude(Double latitude) %7B%0A        this.latitude = latitude;%0A        return this;%0A    %7D%0A%0A    public FilterBuilder radius(Integer radius) %7B%0A        this.radius = radius;%0A        return this;%0A    %7D%0A%0A    public FilterBuilder technologies(List%3CTechnology%3E technologies) %7B%0A        this.technologies = technologies;%0A        return this;%0A    %7D%0A%0A    public FilterBuilder rangeInDays(Integer rangeInDays) %7B%0A        this.rangeInDays = rangeInDays;%0A        return this;%0A    %7D%0A%0A    public FilterBuilder but() %7B%0A        return aFilter().id(id).offset(offset).limit(limit).city(city).free(free).longitude(longitude).latitude(latitude).radius(radius).technologies(technologies).rangeInDays(rangeInDays);%0A    %7D%0A%0A    public Filter build() %7B%0A        Filter filter = new Filter();%0A        filter.setId(id);%0A        filter.setOffset(offset);%0A        filter.setLimit(limit);%0A        filter.setCity(city);%0A        filter.setFree(free);%0A        filter.setLongitude(longitude);%0A        filter.setLatitude(latitude);%0A        filter.setRadius(radius);%0A        filter.setTechnologies(technologies);%0A        filter.setRangeInDays(rangeInDays);%0A        return filter;%0A    %7D%0A%7D%0A

fix MyBatisMailFilterServiceTest