1
0
mirror of https://github.com/moparisthebest/davmail synced 2025-01-13 06:28:19 -05:00

Caldav: Fix NoSuchMethodError with Java 5

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@605 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-06-26 16:53:07 +00:00
parent 7971111c1c
commit af048577cc

View File

@ -466,7 +466,7 @@ public class CaldavConnection extends AbstractConnection {
DavGatewayTray.switchIcon();
try {
String eventName = getEventFileNameFromPath(href);
if (eventName == null || eventName.isEmpty()) {
if (eventName == null || eventName.length() == 0) {
notFound.add(href);
} else if ("inbox".equals(eventName) || "calendar".equals(eventName)) {
// Sunbird: just ignore