Skip to content

Commit ba083d8

Browse files
committed
CollectionController: move to ru.mystamps.web.feature.collection package.
Addressed to #927 No functional changes.
1 parent c9e3ae8 commit ba083d8

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

src/main/java/ru/mystamps/web/config/ControllersConfig.java

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import ru.mystamps.web.controller.*; // NOPMD: UnusedImports
3131
import ru.mystamps.web.feature.category.CategoryConfig;
3232
import ru.mystamps.web.feature.category.CategoryService;
33+
import ru.mystamps.web.feature.collection.CollectionController;
3334
import ru.mystamps.web.feature.country.CountryConfig;
3435
import ru.mystamps.web.feature.country.CountryService;
3536
import ru.mystamps.web.feature.participant.ParticipantConfig;

src/main/java/ru/mystamps/web/controller/CollectionController.java renamed to src/main/java/ru/mystamps/web/feature/collection/CollectionController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* along with this program; if not, write to the Free Software
1616
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1717
*/
18-
package ru.mystamps.web.controller;
18+
package ru.mystamps.web.feature.collection;
1919

2020
import java.io.IOException;
2121
import java.util.List;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/**
2+
* Collections of users.
3+
*/
4+
package ru.mystamps.web.feature.collection;

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

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public interface SeriesService {
3535
void addImageToSeries(AddImageDto dto, Integer seriesId, Integer userId);
3636
long countAll();
3737
long countAllStamps();
38+
// @todo #927 SeriesService.countSeriesOf(): move to CollectionService
3839
long countSeriesOf(Integer collectionId);
3940
long countAddedSince(Date date);
4041
long countUpdatedSince(Date date);

0 commit comments

Comments
 (0)