diff options
Diffstat (limited to 'src/main/java/io/trygvis/data')
-rwxr-xr-x | src/main/java/io/trygvis/data/QueueRepository.java | 16 | ||||
-rwxr-xr-x | src/main/java/io/trygvis/data/TaskRepository.java | 22 |
2 files changed, 19 insertions, 19 deletions
diff --git a/src/main/java/io/trygvis/data/QueueRepository.java b/src/main/java/io/trygvis/data/QueueRepository.java index 47ed478..604d5fe 100755 --- a/src/main/java/io/trygvis/data/QueueRepository.java +++ b/src/main/java/io/trygvis/data/QueueRepository.java @@ -1,8 +1,8 @@ -package io.trygvis.data;
-
-import io.trygvis.queue.*;
-import org.springframework.data.jpa.repository.*;
-
-public interface QueueRepository extends JpaRepository<Queue, Long> {
- Queue findByName(String name);
-}
+package io.trygvis.data; + +import io.trygvis.queue.*; +import org.springframework.data.jpa.repository.*; + +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 b0710e3..efe4903 100755 --- a/src/main/java/io/trygvis/data/TaskRepository.java +++ b/src/main/java/io/trygvis/data/TaskRepository.java @@ -1,11 +1,11 @@ -package io.trygvis.data;
-
-import io.trygvis.queue.*;
-import io.trygvis.queue.Queue;
-import org.springframework.data.jpa.repository.*;
-
-import java.util.*;
-
-public interface TaskRepository extends JpaRepository<Task, Long> {
- List<Task> findByQueueAndCompletedIsNull(Queue queue);
-}
+package io.trygvis.data; + +import io.trygvis.queue.*; +import io.trygvis.queue.Queue; +import org.springframework.data.jpa.repository.*; + +import java.util.*; + +public interface TaskRepository extends JpaRepository<Task, Long> { + List<Task> findByQueueAndCompletedIsNull(Queue queue); +} |