Browse Source

Fix build after changes for gh-84

pull/95/head
Dave Syer 12 years ago
parent
commit
228787e66d
  1. 5
      spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcAutoConfiguration.java

5
spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcAutoConfiguration.java

@ -183,8 +183,9 @@ public class EndpointWebMvcAutoConfiguration implements ApplicationContextAware,
return DIFFERENT; return DIFFERENT;
} }
return managementServerProperties.getPort() == null return managementServerProperties.getPort() == null
|| serverProperties.getPort() == managementServerProperties.getPort() ? SAME || serverProperties.getPort() == null
: DIFFERENT; || serverProperties.getPort().equals(
managementServerProperties.getPort()) ? SAME : DIFFERENT;
} }
}; };
} }

Loading…
Cancel
Save