Skip to content

Commit c456135

Browse files
committed
CollectionService.isSeriesInCollection(): fix error from PMD about useless local variable.
Correction for 566a0ec commit. No functional changes.
1 parent 15530cf commit c456135

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,7 @@ public boolean isSeriesInCollection(Integer userId, Integer seriesId) {
103103
return false;
104104
}
105105

106-
boolean isSeriesInCollection = collectionDao.isSeriesInUserCollection(userId, seriesId);
107-
108-
return isSeriesInCollection;
106+
return collectionDao.isSeriesInUserCollection(userId, seriesId);
109107
}
110108

111109
@Override

0 commit comments

Comments
 (0)