Skip to content

Commit 07ef6cc

Browse files
committed
check style
1 parent ae0b00b commit 07ef6cc

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/main/java/ru/mystamps/web/dao/impl/JdbcSeriesDao.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,16 +326,20 @@ public long countAddedSince(Date date) {
326326
}
327327

328328
@Override
329-
public String guessCountryBy(Integer createdBy)
330-
{
329+
public String guessCountryBy(Integer createdBy) {
331330
Map<String, Object> params = new HashMap<>();
332331
params.put("created_by", createdBy);
333332

334333
String result = jdbcTemplate.queryForObject(findLastCountryByIdSql, params, String.class);
335-
if (result != null)
334+
if (result != null) {
336335
return result;
336+
}
337337

338-
return jdbcTemplate.queryForObject(findPopularCountrySql, Collections.<String, Object>emptyMap(), String.class);
338+
return jdbcTemplate.queryForObject(
339+
findPopularCountrySql,
340+
Collections.<String, Object>emptyMap(),
341+
String.class
342+
);
339343
}
340344

341345
@Override

src/main/java/ru/mystamps/web/service/SeriesServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public long countUpdatedSince(Date date) {
223223

224224
@Override
225225
@Transactional(readOnly = true)
226-
public String guessCountryBy(Integer createdBy){
226+
public String guessCountryBy(Integer createdBy) {
227227
Validate.isTrue(createdBy != null, "CreatedBy must be non null");
228228

229229
return seriesDao.guessCountryBy(createdBy);

0 commit comments

Comments
 (0)