Merge branch '1.5.x'

pull/7916/merge
Stephane Nicoll 8 years ago
commit b4ceb46a6b

@ -108,7 +108,7 @@ public class LdapProperties {
} }
private int determinePort(Environment environment) { private int determinePort(Environment environment) {
Assert.state(environment != null, "No local LDAP port configured"); Assert.notNull(environment, "Environment must not be null");
String localPort = environment.getProperty("local.ldap.port"); String localPort = environment.getProperty("local.ldap.port");
if (localPort != null) { if (localPort != null) {
return Integer.valueOf(localPort); return Integer.valueOf(localPort);

Loading…
Cancel
Save