Commit b4ceb46a authored by Stephane Nicoll's avatar Stephane Nicoll

Merge branch '1.5.x'

parents 99ffeb81 5ee12a82
...@@ -108,7 +108,7 @@ public class LdapProperties { ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment