diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-06-02 13:05:49 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-06-02 13:05:49 +0200 |
commit | 1eeef021c65c85c24d62a0cc1ee4a746a601beb5 (patch) | |
tree | 5e2aae9e4e78709a07b39e7a79fa3ea1446e92e0 /src/main | |
parent | 52084f7b4e6f50c90b3255cdf2eb9deab560c970 (diff) | |
download | quartz-based-queue-1eeef021c65c85c24d62a0cc1ee4a746a601beb5.tar.gz quartz-based-queue-1eeef021c65c85c24d62a0cc1ee4a746a601beb5.tar.bz2 quartz-based-queue-1eeef021c65c85c24d62a0cc1ee4a746a601beb5.tar.xz quartz-based-queue-1eeef021c65c85c24d62a0cc1ee4a746a601beb5.zip |
o Cleaning up dependencies.
Diffstat (limited to 'src/main')
3 files changed, 0 insertions, 21 deletions
diff --git a/src/main/java/io/trygvis/async/spring/SpringJdbcAsyncService.java b/src/main/java/io/trygvis/async/spring/SpringJdbcAsyncService.java index 8517c68..327dffa 100644 --- a/src/main/java/io/trygvis/async/spring/SpringJdbcAsyncService.java +++ b/src/main/java/io/trygvis/async/spring/SpringJdbcAsyncService.java @@ -7,7 +7,6 @@ import io.trygvis.queue.Queue; import io.trygvis.queue.Task; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.ConnectionCallback; import org.springframework.jdbc.core.JdbcTemplate; import org.springframework.transaction.annotation.Transactional; @@ -15,7 +14,6 @@ import org.springframework.transaction.support.TransactionSynchronization; import org.springframework.transaction.support.TransactionSynchronizationAdapter; import org.springframework.transaction.support.TransactionTemplate; -import javax.annotation.PostConstruct; import java.sql.Connection; import java.sql.SQLException; import java.util.concurrent.Executors; diff --git a/src/main/java/io/trygvis/data/QueueRepository.java b/src/main/java/io/trygvis/data/QueueRepository.java deleted file mode 100755 index 4ea6707..0000000 --- a/src/main/java/io/trygvis/data/QueueRepository.java +++ /dev/null @@ -1,8 +0,0 @@ -package io.trygvis.data; - -import io.trygvis.queue.Queue; -import org.springframework.data.jpa.repository.JpaRepository; - -public interface QueueRepository extends JpaRepository<Queue, Long> { - Queue findByName(String name); -} diff --git a/src/main/java/io/trygvis/data/TaskRepository.java b/src/main/java/io/trygvis/data/TaskRepository.java deleted file mode 100755 index c0df329..0000000 --- a/src/main/java/io/trygvis/data/TaskRepository.java +++ /dev/null @@ -1,11 +0,0 @@ -package io.trygvis.data; - -import io.trygvis.queue.Queue; -import io.trygvis.queue.Task; -import org.springframework.data.jpa.repository.JpaRepository; - -import java.util.List; - -public interface TaskRepository extends JpaRepository<Task, Long> { - List<Task> findByQueueAndCompletedIsNull(Queue queue); -} |