From 3fbc080d7036289a5e9d0798e42bad04ab443db3 Mon Sep 17 00:00:00 2001 From: geek Date: Thu, 28 Jun 2018 19:52:44 +0900 Subject: [PATCH] email token duplication check --- pom.xml | 2 +- .../CentralMetaCollectionItemService.java | 6 ------ .../CentralMetaDisplayItemMappingService.java | 5 ----- .../CentralMetaDisplayItemService.java | 5 ----- .../CentralMetaCollectionItemServiceTest.java | 20 +++++++++++++++++++ 5 files changed, 21 insertions(+), 17 deletions(-) create mode 100644 src/test/java/com/loafle/overflow/central/module/meta/service/CentralMetaCollectionItemServiceTest.java diff --git a/pom.xml b/pom.xml index 93ab629..6ab7364 100644 --- a/pom.xml +++ b/pom.xml @@ -50,7 +50,7 @@ com.loafle.overflow commons-java - 1.0.109-SNAPSHOT + 1.0.110-SNAPSHOT diff --git a/src/main/java/com/loafle/overflow/central/module/meta/service/CentralMetaCollectionItemService.java b/src/main/java/com/loafle/overflow/central/module/meta/service/CentralMetaCollectionItemService.java index 65d0c06..f020e0d 100644 --- a/src/main/java/com/loafle/overflow/central/module/meta/service/CentralMetaCollectionItemService.java +++ b/src/main/java/com/loafle/overflow/central/module/meta/service/CentralMetaCollectionItemService.java @@ -27,10 +27,4 @@ public class CentralMetaCollectionItemService implements MetaCollectionItemServi public MetaCollectionItem readByKey(String key) throws OverflowException { return this.metaCollectionItemDAO.findByKey(key); } - - @Override - public MetaCollectionItem readByID(Integer id) throws OverflowException { - return this.metaCollectionItemDAO.getOne(id); - } - } diff --git a/src/main/java/com/loafle/overflow/central/module/meta/service/CentralMetaDisplayItemMappingService.java b/src/main/java/com/loafle/overflow/central/module/meta/service/CentralMetaDisplayItemMappingService.java index d9713e9..1432ed8 100644 --- a/src/main/java/com/loafle/overflow/central/module/meta/service/CentralMetaDisplayItemMappingService.java +++ b/src/main/java/com/loafle/overflow/central/module/meta/service/CentralMetaDisplayItemMappingService.java @@ -33,11 +33,6 @@ public class CentralMetaDisplayItemMappingService implements MetaDisplayItemMapp return this.metaDisplayItemMappingDAO.findAllByMetaCrawlerMappingId(metaCrawlerMappingID); } - @Override - public MetaDisplayItemMapping read(Long ID) throws OverflowException { - return null; - } - @Override public List readAll() throws OverflowException { return this.metaDisplayItemMappingDAO.findAll(); diff --git a/src/main/java/com/loafle/overflow/central/module/meta/service/CentralMetaDisplayItemService.java b/src/main/java/com/loafle/overflow/central/module/meta/service/CentralMetaDisplayItemService.java index d5f1194..ec02c47 100644 --- a/src/main/java/com/loafle/overflow/central/module/meta/service/CentralMetaDisplayItemService.java +++ b/src/main/java/com/loafle/overflow/central/module/meta/service/CentralMetaDisplayItemService.java @@ -22,11 +22,6 @@ public class CentralMetaDisplayItemService implements MetaDisplayItemService { return this.metaDisplayItemDAO.save(metaDisplayItem); } - @Override - public MetaDisplayItem read(Long id) throws OverflowException { - return null; - } - @Override public List readAll() throws OverflowException { return this.metaDisplayItemDAO.findAll(); diff --git a/src/test/java/com/loafle/overflow/central/module/meta/service/CentralMetaCollectionItemServiceTest.java b/src/test/java/com/loafle/overflow/central/module/meta/service/CentralMetaCollectionItemServiceTest.java new file mode 100644 index 0000000..27a28e7 --- /dev/null +++ b/src/test/java/com/loafle/overflow/central/module/meta/service/CentralMetaCollectionItemServiceTest.java @@ -0,0 +1,20 @@ +package com.loafle.overflow.central.module.meta.service; + +import org.junit.Test; + +import static org.junit.Assert.*; + +public class CentralMetaCollectionItemServiceTest { + + @Test + public void readAll() { + } + + @Test + public void readByKey() { + } + + @Test + public void readByID() { + } +}