Change incorrect sun.util.resources.LocaleData type for publishedDate property to java.time.LocalDate.

Add Javadoc.
This commit is contained in:
John Blum
2018-05-22 18:14:50 -07:00
parent 3c2d0f558c
commit 91438a69ff

View File

@@ -16,18 +16,22 @@
package example.app.model;
import java.time.LocalDate;
import org.springframework.data.annotation.Id;
import org.springframework.data.gemfire.mapping.annotation.Region;
import lombok.Data;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;
import sun.util.resources.LocaleData;
/**
* The Book class...
* The {@link Book} class is an Abstract Data Type (ADT) modeling a book.
*
* @author John Blum
* @see lombok
* @see org.springframework.data.annotation.Id
* @see org.springframework.data.gemfire.mapping.annotation.Region
* @since 1.0.0
*/
@Region("Books")
@@ -40,7 +44,7 @@ public class Book {
@Id
private ISBN isbn;
private LocaleData publishedDate;
private LocalDate publishedDate;
@NonNull
private String title;