File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
src/main/java/ru/mystamps/web/service Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -202,34 +202,19 @@ public String suggestCountryForUser(Integer userId) {
202202 // if user created a series with a country, let's suggest this country to him
203203 String slug = countryDao .findCountryOfLastCreatedSeriesByUser (userId );
204204 if (slug != null ) {
205- log .info (
206- "Country {} has been suggested to user #{} from a recently created series" ,
207- slug ,
208- userId
209- );
210205 return slug ;
211206 }
212207
213208 // if user created a country, let's suggest this country to him
214209 slug = countryDao .findLastCountryCreatedByUser (userId );
215210 if (slug != null ) {
216- log .info (
217- "Country {} has been suggested to user #{} as it was created by him recently" ,
218- slug ,
219- userId
220- );
221211 return slug ;
222212 }
223213
224214 // user has never created a country but most of the series in his collection
225215 // belong to a specific country, let's suggest this country to him
226216 slug = countryDao .findPopularCountryInCollection (userId );
227217 if (slug != null ) {
228- log .info (
229- "Country {} has been suggested to user #{} as popular in his collection" ,
230- slug ,
231- userId
232- );
233218 }
234219
235220 return slug ;
You can’t perform that action at this time.
0 commit comments