diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-04-20 18:10:20 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-04-20 18:10:20 +0200 |
commit | 74a3da1853eeb2e853d17d8d8527404248b209d3 (patch) | |
tree | 6bffb7a891034e5141f0f7dc4b04d54d9472310f /src/main/java/io/trygvis/data | |
parent | a03d5154456587fc7920e632f083cc5f1e4318a9 (diff) | |
download | quartz-based-queue-74a3da1853eeb2e853d17d8d8527404248b209d3.tar.gz quartz-based-queue-74a3da1853eeb2e853d17d8d8527404248b209d3.tar.bz2 quartz-based-queue-74a3da1853eeb2e853d17d8d8527404248b209d3.tar.xz quartz-based-queue-74a3da1853eeb2e853d17d8d8527404248b209d3.zip |
wip
Diffstat (limited to 'src/main/java/io/trygvis/data')
-rwxr-xr-x | src/main/java/io/trygvis/data/QueueRepository.java | 4 | ||||
-rwxr-xr-x | src/main/java/io/trygvis/data/TaskRepository.java | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/io/trygvis/data/QueueRepository.java b/src/main/java/io/trygvis/data/QueueRepository.java index 604d5fe..4ea6707 100755 --- a/src/main/java/io/trygvis/data/QueueRepository.java +++ b/src/main/java/io/trygvis/data/QueueRepository.java @@ -1,7 +1,7 @@ package io.trygvis.data; -import io.trygvis.queue.*; -import org.springframework.data.jpa.repository.*; +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 index efe4903..c0df329 100755 --- a/src/main/java/io/trygvis/data/TaskRepository.java +++ b/src/main/java/io/trygvis/data/TaskRepository.java @@ -1,10 +1,10 @@ package io.trygvis.data; -import io.trygvis.queue.*; import io.trygvis.queue.Queue; -import org.springframework.data.jpa.repository.*; +import io.trygvis.queue.Task; +import org.springframework.data.jpa.repository.JpaRepository; -import java.util.*; +import java.util.List; public interface TaskRepository extends JpaRepository<Task, Long> { List<Task> findByQueueAndCompletedIsNull(Queue queue); |