aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/trygvis/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/trygvis/data')
-rwxr-xr-xsrc/main/java/io/trygvis/data/QueueRepository.java4
-rwxr-xr-xsrc/main/java/io/trygvis/data/TaskRepository.java6
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);