Skip to content

Commit 9db9bc3

Browse files
committed
DATAREST-1249 - Polishing.
1 parent 778fdf4 commit 9db9bc3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-data-rest-webmvc/src/test/java/org/springframework/data/rest/webmvc/json/DomainObjectReaderUnitTests.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616
package org.springframework.data.rest.webmvc.json;
1717

18-
import static com.fasterxml.jackson.annotation.JsonProperty.Access.READ_ONLY;
18+
import static com.fasterxml.jackson.annotation.JsonProperty.Access.*;
1919
import static org.assertj.core.api.Assertions.assertThat;
2020
import static org.hamcrest.Matchers.*;
2121
import static org.junit.Assert.assertThat;
@@ -209,7 +209,7 @@ public void doesNotWipeIdAndVersionPropertyForPut() throws Exception {
209209
assertThat(result.version).isEqualTo(1L);
210210
}
211211

212-
@Test //DATAREST-1006
212+
@Test // DATAREST-1006
213213
public void doesNotWipeReadOnlyJsonPropertyForPut() throws Exception {
214214

215215
SampleUser sampleUser = new SampleUser("name", "password");
@@ -581,7 +581,7 @@ static class SampleUser {
581581
@JsonIgnore String password;
582582
Map<String, SampleUser> relatedUsers;
583583

584-
@JsonProperty(access = READ_ONLY)
584+
@JsonProperty(access = READ_ONLY) //
585585
private Date lastLogin;
586586

587587
public SampleUser(String name, String password) {

0 commit comments

Comments
 (0)