Browse Source

Fix checksyle 'violations'

pull/5883/head
Dave Syer 10 years ago
parent
commit
bdc71f693c
  1. 4
      spring-boot-test/src/main/java/org/springframework/boot/test/TestRestTemplate.java
  2. 20
      spring-boot-test/src/test/java/org/springframework/boot/test/TestRestTemplateTests.java

4
spring-boot-test/src/main/java/org/springframework/boot/test/TestRestTemplate.java

@ -35,7 +35,7 @@ public class TestRestTemplate extends org.springframework.boot.test.web.client.T @@ -35,7 +35,7 @@ public class TestRestTemplate extends org.springframework.boot.test.web.client.T
/**
* Create a new {@link TestRestTemplate} instance.
*
*
* @param httpClientOptions
* client options to use if the Apache HTTP Client is used
*/
@ -46,7 +46,7 @@ public class TestRestTemplate extends org.springframework.boot.test.web.client.T @@ -46,7 +46,7 @@ public class TestRestTemplate extends org.springframework.boot.test.web.client.T
/**
* Create a new {@link TestRestTemplate} instance with the specified
* credentials.
*
*
* @param username
* the username to use (or {@code null})
* @param password

20
spring-boot-test/src/test/java/org/springframework/boot/test/TestRestTemplateTests.java

@ -1,9 +1,25 @@ @@ -1,9 +1,25 @@
package org.springframework.boot.test;
/*
* Copyright 2012-2016 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import static org.assertj.core.api.Assertions.assertThat;
package org.springframework.boot.test;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
public class TestRestTemplateTests {
@Test

Loading…
Cancel
Save