Unused imports

This commit is contained in:
Artur Kmieckowiak 2020-01-11 10:09:21 +01:00
parent a9d5d86b32
commit 7285c88273
2 changed files with 1 additions and 6 deletions

View File

@ -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)
);
}
}
}

View File

@ -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