Delete trailing whitespace in Java source code
This commit is contained in:
@@ -24,7 +24,7 @@ import org.springframework.http.HttpMethod;
|
||||
* @author Luciano Leggieri
|
||||
*/
|
||||
public class OkHttpAsyncClientHttpRequestFactoryTests extends AbstractAsyncHttpRequestFactoryTestCase {
|
||||
|
||||
|
||||
@Override
|
||||
protected AsyncClientHttpRequestFactory createRequestFactory() {
|
||||
return new OkHttpClientHttpRequestFactory();
|
||||
|
||||
@@ -238,11 +238,11 @@ public class Jackson2ObjectMapperBuilderTests {
|
||||
@Test
|
||||
public void defaultModules() throws JsonProcessingException, UnsupportedEncodingException {
|
||||
ObjectMapper objectMapper = Jackson2ObjectMapperBuilder.json().build();
|
||||
|
||||
|
||||
Long timestamp = 1322903730000L;
|
||||
DateTime dateTime = new DateTime(timestamp, DateTimeZone.UTC);
|
||||
assertEquals(timestamp.toString(), new String(objectMapper.writeValueAsBytes(dateTime), "UTF-8"));
|
||||
|
||||
|
||||
Optional<String> optional = Optional.of("test");
|
||||
assertEquals("\"test\"", new String(objectMapper.writeValueAsBytes(optional), "UTF-8"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user