Fix build some more after changes for gh-84

This commit is contained in:
Dave Syer
2013-10-10 16:47:11 -04:00
parent a48990f2d4
commit cd5bc83533

View File

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