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; package com.fnecan.study.bookapi.api;
import com.fnecan.study.bookapi.model.BookDocument;
import com.fnecan.study.bookapi.service.BookService; import com.fnecan.study.bookapi.service.BookService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity; 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.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import java.util.List;
@RestController @RestController
@RequestMapping("/api/v1/books") @RequestMapping("/api/v1/books")
public class BookController { public class BookController {

View File

@ -3,8 +3,6 @@ package com.fnecan.study.bookapi.model;
import org.springframework.data.annotation.Id; import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document; import org.springframework.data.mongodb.core.mapping.Document;
import java.util.Date;
@Document @Document
public class ConversationDocument { public class ConversationDocument {
@Id @Id