mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
EWS: Fix FieldURIOrConstant test
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1352 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
4835b2ba2d
commit
b582494bc2
@ -369,7 +369,7 @@ public class EwsExchangeSession extends ExchangeSession {
|
||||
FieldURI fieldURI = getFieldURI();
|
||||
fieldURI.appendTo(buffer);
|
||||
|
||||
if (operator == Operator.IsEqualTo) {
|
||||
if (operator != Operator.Contains) {
|
||||
buffer.append("<t:FieldURIOrConstant>");
|
||||
}
|
||||
buffer.append("<t:Constant Value=\"");
|
||||
@ -380,7 +380,7 @@ public class EwsExchangeSession extends ExchangeSession {
|
||||
buffer.append(StringUtil.xmlEncode(value));
|
||||
}
|
||||
buffer.append("\"/>");
|
||||
if (operator == Operator.IsEqualTo) {
|
||||
if (operator != Operator.Contains) {
|
||||
buffer.append("</t:FieldURIOrConstant>");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user