From ca25de0e5cc18ba48da572f72b2eddbd4334b960 Mon Sep 17 00:00:00 2001 From: mguessan Date: Tue, 13 Jan 2009 21:30:29 +0000 Subject: [PATCH] Cleanup from audit git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@286 3d1905a2-6b24-0410-a738-b14d5a86fcbd --- src/java/davmail/DavGateway.java | 1 - src/java/davmail/exchange/ExchangeSession.java | 2 +- src/java/davmail/ui/SwtDesktopBrowser.java | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/java/davmail/DavGateway.java b/src/java/davmail/DavGateway.java index 17d024c1..b7d53b3a 100644 --- a/src/java/davmail/DavGateway.java +++ b/src/java/davmail/DavGateway.java @@ -2,7 +2,6 @@ package davmail; import davmail.caldav.CaldavServer; import davmail.exchange.ExchangeSessionFactory; -import davmail.exchange.NetworkDownException; import davmail.http.DavGatewayHttpClientFacade; import davmail.http.DavGatewaySSLProtocolSocketFactory; import davmail.ldap.LdapServer; diff --git a/src/java/davmail/exchange/ExchangeSession.java b/src/java/davmail/exchange/ExchangeSession.java index 8ac1edc8..3943d1cf 100644 --- a/src/java/davmail/exchange/ExchangeSession.java +++ b/src/java/davmail/exchange/ExchangeSession.java @@ -634,7 +634,7 @@ public class ExchangeSession { } } // patch thunderbird html in reply for correct outlook display - if (line.startsWith("")) { + if (line != null && line.startsWith("")) { mailBuffer.append(line).append("\n"); line = " "; } diff --git a/src/java/davmail/ui/SwtDesktopBrowser.java b/src/java/davmail/ui/SwtDesktopBrowser.java index f9e57ad3..f4bc186c 100644 --- a/src/java/davmail/ui/SwtDesktopBrowser.java +++ b/src/java/davmail/ui/SwtDesktopBrowser.java @@ -2,7 +2,6 @@ package davmail.ui; import org.eclipse.swt.program.Program; -import java.io.IOException; import java.net.URI; /**