From d377237181daa3d6d7475247a0ae2bec684407ff Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Wed, 30 May 2018 10:48:36 +0200 Subject: [PATCH] DATAREST-1249 - Polishing. --- .../data/rest/webmvc/json/DomainObjectReaderUnitTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/DomainObjectReaderUnitTests.java b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/DomainObjectReaderUnitTests.java index 4d7425cff..8fe899f48 100644 --- a/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/DomainObjectReaderUnitTests.java +++ b/spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/DomainObjectReaderUnitTests.java @@ -15,7 +15,7 @@ */ package org.springframework.data.rest.webmvc.json; -import static com.fasterxml.jackson.annotation.JsonProperty.Access.READ_ONLY; +import static com.fasterxml.jackson.annotation.JsonProperty.Access.*; import static org.hamcrest.Matchers.*; import static org.junit.Assert.*; import static org.mockito.Mockito.*; @@ -209,7 +209,7 @@ public class DomainObjectReaderUnitTests { assertThat(result.version, is(1L)); } - @Test //DATAREST-1006 + @Test // DATAREST-1006 public void doesNotWipeReadOnlyJsonPropertyForPut() throws Exception { SampleUser sampleUser = new SampleUser("name", "password"); @@ -581,7 +581,7 @@ public class DomainObjectReaderUnitTests { @JsonIgnore String password; Map relatedUsers; - @JsonProperty(access = READ_ONLY) + @JsonProperty(access = READ_ONLY) // private Date lastLogin; public SampleUser(String name, String password) {