Browse Source

Polish

See gh-7322
pull/7326/head
Stephane Nicoll 9 years ago
parent
commit
71bbd9faaf
  1. 2
      spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cloudfoundry/AccessLevel.java
  2. 2
      spring-boot-actuator/src/test/java/org/springframework/boot/actuate/cloudfoundry/SkipSslVerificationHttpRequestFactoryTests.java

2
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/cloudfoundry/AccessLevel.java

@ -49,7 +49,7 @@ enum AccessLevel { @@ -49,7 +49,7 @@ enum AccessLevel {
/**
* Returns if the access level should allow access to the specified endpoint path.
* @param endpointPath the endpoitn path
* @param endpointPath the endpoint path
* @return {@code true} if access is allowed
*/
public boolean isAccessAllowed(String endpointPath) {

2
spring-boot-actuator/src/test/java/org/springframework/boot/actuate/cloudfoundry/SkipSslVerificationHttpRequestFactoryTests.java

@ -45,7 +45,7 @@ public class SkipSslVerificationHttpRequestFactoryTests { @@ -45,7 +45,7 @@ public class SkipSslVerificationHttpRequestFactoryTests {
public ExpectedException thrown = ExpectedException.none();
@Test
public void restCallToSelfSignedServershouldNotThrowSslException() throws Exception {
public void restCallToSelfSignedServerShouldNotThrowSslException() throws Exception {
String httpsUrl = getHttpsUrl();
SkipSslVerificationHttpRequestFactory requestFactory = new SkipSslVerificationHttpRequestFactory();
RestTemplate restTemplate = new RestTemplate(requestFactory);

Loading…
Cancel
Save