From 7285c88273e57c82570879f6719b58521bda3568 Mon Sep 17 00:00:00 2001 From: Artur Kmieckowiak Date: Sat, 11 Jan 2020 10:09:21 +0100 Subject: [PATCH] Unused imports --- .../java/com/fnecan/study/bookapi/api/BookController.java | 5 +---- .../com/fnecan/study/bookapi/model/ConversationDocument.java | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/main/java/com/fnecan/study/bookapi/api/BookController.java b/src/main/java/com/fnecan/study/bookapi/api/BookController.java index 842dbff..20cc261 100644 --- a/src/main/java/com/fnecan/study/bookapi/api/BookController.java +++ b/src/main/java/com/fnecan/study/bookapi/api/BookController.java @@ -1,6 +1,5 @@ package com.fnecan.study.bookapi.api; -import com.fnecan.study.bookapi.model.BookDocument; import com.fnecan.study.bookapi.service.BookService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; @@ -10,8 +9,6 @@ import org.springframework.web.bind.annotation.RequestHeader; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; -import java.util.List; - @RestController @RequestMapping("/api/v1/books") public class BookController { @@ -34,5 +31,5 @@ public class BookController { return ResponseEntity.ok( bookService.getBookDetails(userId, bookId) ); - } + } } diff --git a/src/main/java/com/fnecan/study/bookapi/model/ConversationDocument.java b/src/main/java/com/fnecan/study/bookapi/model/ConversationDocument.java index 9afb4a3..8c91487 100644 --- a/src/main/java/com/fnecan/study/bookapi/model/ConversationDocument.java +++ b/src/main/java/com/fnecan/study/bookapi/model/ConversationDocument.java @@ -3,8 +3,6 @@ package com.fnecan.study.bookapi.model; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.mapping.Document; -import java.util.Date; - @Document public class ConversationDocument { @Id