From e263c8e797489b5bfc010fadbc1bcabbe3b6883c Mon Sep 17 00:00:00 2001 From: mguessan Date: Thu, 23 Apr 2009 22:10:10 +0000 Subject: [PATCH] Fix regression : /exchange/ does not work for galfind under Exchange 2007 git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@538 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/exchange/ExchangeSession.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/java/davmail/exchange/ExchangeSession.java b/src/java/davmail/exchange/ExchangeSession.java index 6cb968ae..b1f898c8 100644 --- a/src/java/davmail/exchange/ExchangeSession.java +++ b/src/java/davmail/exchange/ExchangeSession.java @@ -1740,7 +1740,7 @@ public class ExchangeSession { */ public String getCmdBasePath() { if (mailPath == null) { - return "/exchange/"; + return "/public/"; } else { return mailPath; } @@ -1993,7 +1993,7 @@ public class ExchangeSession { final HashMap busyMap = new HashMap(); - protected StringBuilder getBusyBuffer(char type) { + StringBuilder getBusyBuffer(char type) { String fbType = FBTYPES.get(Character.valueOf(type)); StringBuilder buffer = busyMap.get(fbType); if (buffer == null) { @@ -2003,7 +2003,7 @@ public class ExchangeSession { return buffer; } - protected void startBusy(char type, Calendar currentCal) { + void startBusy(char type, Calendar currentCal) { if (type == '4') { knownAttendee = false; } else if (type != '0') { @@ -2015,13 +2015,13 @@ public class ExchangeSession { } } - protected void endBusy(char type, Calendar currentCal) { + void endBusy(char type, Calendar currentCal) { if (type != '0' && type != '4') { getBusyBuffer(type).append('/').append(icalParser.format(currentCal.getTime())); } } - public FreeBusy(SimpleDateFormat icalParser, Date startDate, String fbdata) { + FreeBusy(SimpleDateFormat icalParser, Date startDate, String fbdata) { this.icalParser = icalParser; if (fbdata.length() > 0) { Calendar currentCal = Calendar.getInstance(TimeZone.getTimeZone("UTC"));