Polishing
This commit is contained in:
@@ -62,7 +62,7 @@ import static org.mockito.Mockito.verify;
|
||||
*/
|
||||
public class MappingJackson2HttpMessageConverterTests {
|
||||
|
||||
protected static final String NEWLINE_SYSTEM_PROPERTY = System.getProperty("line.separator");
|
||||
protected static final String NEWLINE_SYSTEM_PROPERTY = System.lineSeparator();
|
||||
|
||||
private final MappingJackson2HttpMessageConverter converter = new MappingJackson2HttpMessageConverter();
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2021 the original author or authors.
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -80,7 +80,7 @@ import static org.springframework.web.testfixture.method.ResolvableMethod.on;
|
||||
*/
|
||||
public class ResponseEntityResultHandlerTests {
|
||||
|
||||
private static final String NEWLINE_SYSTEM_PROPERTY = System.getProperty("line.separator");
|
||||
private static final String NEWLINE_SYSTEM_PROPERTY = System.lineSeparator();
|
||||
|
||||
|
||||
private ResponseEntityResultHandler resultHandler;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2021 the original author or authors.
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -87,7 +87,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
|
||||
@SuppressWarnings("unused")
|
||||
public class RequestResponseBodyMethodProcessorTests {
|
||||
|
||||
protected static final String NEWLINE_SYSTEM_PROPERTY = System.getProperty("line.separator");
|
||||
protected static final String NEWLINE_SYSTEM_PROPERTY = System.lineSeparator();
|
||||
|
||||
|
||||
private ModelAndViewContainer container;
|
||||
|
||||
Reference in New Issue
Block a user