1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 03:02:22 -05:00

Move galLookup to LdapConnection

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@199 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2008-12-04 15:03:48 +00:00
parent d862e9d3e0
commit 8290b52ff0

View File

@ -993,12 +993,6 @@ public class ExchangeSession {
throw new IOException(status + "Unable to find users from: " + getMethod.getURI());
}
results = XMLStreamUtil.getElementContentsAsMap(getMethod.getResponseBodyAsStream(), "item", "AN");
// add detailed information, only if few results
if (results.size() <= 10) {
for (Map<String, String> person : results.values()) {
galLookup(person);
}
}
} finally {
getMethod.releaseConnection();
}