From aad346900d2c29fb1b5758cae5bfbe5cd0c6549a Mon Sep 17 00:00:00 2001 From: mguessan Date: Wed, 7 Jul 2010 14:20:17 +0000 Subject: [PATCH] LDAP: fix regression after EWS refactoring git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1152 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/exchange/dav/DavExchangeSession.java | 2 ++ src/java/davmail/ldap/LdapConnection.java | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/java/davmail/exchange/dav/DavExchangeSession.java b/src/java/davmail/exchange/dav/DavExchangeSession.java index 1fe94716..618bcb84 100644 --- a/src/java/davmail/exchange/dav/DavExchangeSession.java +++ b/src/java/davmail/exchange/dav/DavExchangeSession.java @@ -405,6 +405,8 @@ public class DavExchangeSession extends ExchangeSession { operatorMap.put(Operator.IsNull, " is null"); operatorMap.put(Operator.IsFalse, " = false"); operatorMap.put(Operator.IsTrue, " = true"); + operatorMap.put(Operator.StartsWith, " = "); + operatorMap.put(Operator.Contains, " = "); } protected static class AttributeCondition extends ExchangeSession.AttributeCondition { diff --git a/src/java/davmail/ldap/LdapConnection.java b/src/java/davmail/ldap/LdapConnection.java index 7cb8209c..c81490a4 100644 --- a/src/java/davmail/ldap/LdapConnection.java +++ b/src/java/davmail/ldap/LdapConnection.java @@ -28,7 +28,6 @@ import davmail.exception.DavMailException; import davmail.exchange.ExchangeSession; import davmail.exchange.ExchangeSessionFactory; import davmail.ui.tray.DavGatewayTray; -import davmail.util.StringUtil; import java.io.BufferedInputStream; import java.io.BufferedOutputStream;