Fix build after changes for gh-84

This commit is contained in:
Dave Syer
2013-10-10 14:48:37 -04:00
parent 26f3379d1a
commit 228787e66d

View File

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